SuSE NIS
!!!! First of all: You do NOT want NIS because of security reasons !!!!
NIS is not NIS+ and it is without encryption. So do not use it or if you really have to, use it wisely!
NIS Client
Add packages
<syntaxhighlight>
- zypper in yast2-nis-client ypbind
</source>
/etc/sysconfig/network/config
<syntaxhighlight> NETCONFIG_MODULES_ORDER="dns-resolver dns-bind dns-dnsmasq nis ntp-runtime" NETCONFIG_NIS_STATIC_SERVERS="nis-server.domain.tld" NETCONFIG_NIS_SETDOMAINNAME="yes" NETCONFIG_NIS_POLICY="auto" </source>
<syntaxhighlight>
- netconfig update -f
</source>
Check: <syntaxhighlight>
- cat /etc/yp.conf
... ypserver nis-server.domain.tld </source>
Set NIS Domain
<syntaxhighlight>
- nisdomainname nis.domain.tld
</source>
Check: <syntaxhighlight>
- nisdomainname
nis.domain.tld
</source>
Add to /etc/passwd
<syntaxhighlight> +:::::: </source>
Add to /etc/shadow
<syntaxhighlight> +::0:0:0:::: </source>
/etc/nsswitch.conf
<syntaxhighlight> ... passwd: compat group: compat ... </source> alternative for older installations: <syntaxhighlight> ... passwd: files nis group: files nis ... </source>
yast
<syntaxhighlight> Network Services -> NIS Client [Alt]+[u] (Use NIS) [F10] Finish [F9] Quit </source>
Check: <syntaxhighlight>
- ypcat passwd.byname
</source>