SuSE NIS
From Lolly's Wiki
Jump to navigationJump to search
!!!! 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
# zypper in yast2-nis-client ypbind
/etc/sysconfig/network/config
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"
# netconfig update -f
Check:
# cat /etc/yp.conf
...
ypserver nis-server.domain.tld
Set NIS Domain
# nisdomainname nis.domain.tld
Check:
# nisdomainname
nis.domain.tld
#
Add to /etc/passwd
+::::::
Add to /etc/shadow
+::0:0:0::::
/etc/nsswitch.conf
...
passwd: compat
group: compat
...
alternative for older installations:
...
passwd: files nis
group: files nis
...
yast
Network Services -> NIS Client
[Alt]+[u] (Use NIS)
[F10] Finish
[F9] Quit
Check:
# ypcat passwd.byname