Home directories are usually maintained in a central location. In most cases, that would be the server. The clients workstations must have access to the home directories on the server. Here is a quick and dirty way of doing it.
Add the following lines to the dfstab file
# vi /etc/dfs/dfstab
share -F nfs -o rw=client1:client2:client3:client4:client5,root=client1:client2:client3:client4:client5 -d "The home directories on the server" /export/home
:wq! (saves and quits vi)
It is assumed the host information for server and clients is included in files, nis, nis+ or whatever naming service you are using.
Next we need to share it out
# shareall
# vi /etc/auto_home
* server:/export/home/&
+auto_home
:wq! (saves and quits vi)
# vi /etc/auto_master
/home auto_home -nosuid,nobrowse
:wq! (saves and quits vi)
#automount -v
Login from the workstation
This blog covers Unix system administration HOWTO tips for using inline for loops, find command, Unix scripting, configuration, SQL, various Unix-based tools, and command line interface syntax. The Unix OS supports tasks such as running hardware, device drivers, peripherals and third party applications. Share tips/comments. Read the comments. But most importantly: Read Disclaimer - Read Disclaimer.
Monday, March 12, 2007
Allow Clients Access to Home Directories on Server
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment