The Network Information Service or NIS is Sun Microsystems' "Yellow Pages" (YP) client-server directory service protocol for distributing system configuration data such as user and host names between computers on a computer network.
When students try to login using GNOME or KDE desktop graphical login manager it dump back error:
Cannot load user preferences from /home/username
User home directory is on NFS server and it will be mounted only after login procedure. NIS based automount works under text based login. But, when it comes to graphical login; it will dump back above error.
To fix this error you need to edit /etc/nsswitch.conf file and force automount to use NIS database:
# vi /etc/nsswitch.conf
Set automount as follows:
automount: nis files
Now Linux graphical login manager will accept logins without any error.
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012
- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop