Networking Guide
Chapter 13, Configuring the NFS automounter
The -passwd built-in map
The -passwd built-in map
The -passwd map provides a simple way
of configuring automount to distribute user home directories
from a single server to any client.
Here is an example of how it could be used:
-
Start automount as:
automount /home/servername -passwd
servername must be the name of the server on which all user home
directories physically reside.
-
On the server, ensure that the user home directories are in:
/home/servername/username
-
On each client intended to automount users' home directories,
ensure that the home directory of each user in the
/etc/passwd file is in the form:
/home/servername/username
-
Inform users to change directories to their home directories
on a client machine by entering:
cd /home/servername/username
To process this entry, automount:
-
detects that the /home/servername mount point has
been accessed and finds that the -passwd built-in
map applies to this mount point.
-
executes getpwnam, which searches
the /etc/passwd file on the
local host for an entry for user. If it finds an entry, it extracts the
``initial working directory'' field
value, /home/servername/username.
-
mounts /home/servername from servername
-
creates a symbolic link
from /tmp_mnt/home/servername/username
to /home/servername/username
For this map, the tilde character (∼) is recognized as a
synonym for the username.
If you wish to distribute user home directories
from multiple servers, here is one method:
-
Create an indirect map, including entries such as:
john moscow:/u3/&
bob moscow:/u3/&
jim moscow:/u3/&
pat moscow:/u3/&
beth moscow:/u3/&
louise moscow:/u3/&
brad moscow:/u3/&
pam prague:/u3/&
betty prague:/u3/&
mike prague:/u3/&
tom prague:/u3/&
joanne prague:/u3/&
doug prague:/u3/&
∗ milan:/u3/&
When reading this indirect map, automount queries
milan for any username it does not find in the indirect map.
For an explanation of the use of the ``&'' and ``∗''
characters, see
``Simplifying map syntax''.
-
Create a master map with the entry:
/home indirect_mapname
-
To have home directories mounted from the server on which they
reside without needing to know the source location, inform users
to enter:
cd /home/username
|
Networking
guide
Call
: 800-519-
2267
MCSE
Boot Camp,
MCSE
Certification
boot
camp,
MCSE
Training
boot
camps,
MCSE
certification
boot
camp
training at
California and
Maryland
USA. Also
CCNA,
CCNP,
CISSP,
Red Hat
Linux
Certification
notes.
Vibrant
boot camp
offers MCSE,
CCNA,
CCNP Certification back to back
Vibrant
offers
MCSE
certification
training
boot camp
for $5400
all inclusive,
instructor
led at
California
and
Baltimore. |
Acquiring and Modifying
Software Packages, MCSE Boot Camp & MCSE Training boot camp get MCSE
Certification join MCSE Boot camps
Active Directory Integrated
Stores, MCSE Boot Camp & MCSE Training get MCSE Boot Camp Certification join
MCSE Boot camps
Active Directory Support for
Client Computers, MCSE Boot Camp & MCSE Training get MCSE Boot Camp
Certification join MCSE Boot camps
Adding a User to a Group,
MCSE Boot Camp Training get MCSE Boot Camp Certification join MCSE Boot camps
Adding Additional CPUs, MCSE
Boot Camp & MCSE Training boot camp get MCSE Certification join MCSE Boot camps
Adding Performance Counters,
MCSE Boot Camp Training get MCSE Certification join MCSE Bootcamp
Adding Removable Media
Drives, MCSE Boot Camp & MCSE Training boot camp get MCSE Certification join
MCSE Boot camps
Adding Service Packs and
Hotfixes to a Network Installation Share, MCSE Boot Camp & MCSE Training boot
camp get MCSE Certification join MCSE Boot camps
Administering Sites Remotely,
MCSE Boot Camp & MCSE Training get MCSE Boot Camp Certification join MCSE Boot
camps
Administering Terminal
Services, MCSE Boot Camp & MCSE Training get MCSE Boot Camp Certification join
MCSE Boot camps
Administrative Templates,
MCSE Boot Camp Training get MCSE Boot Camp Certification join MCSE Boot camps
Administrator - MCSE Boot
Camps
Advanced Boot Options, MCSE
Boot Camp & MCSE Training boot camp get MCSE Certification join MCSE Boot camps
Alerts, MCSE Boot Camp
Training get MCSE Certification join MCSE Bootcamp
Assigning Software Packages,
MCSE Boot Camp & MCSE Training boot camp get MCSE Certification join MCSE Boot
camps
Assigning Special Access
Permissions, MCSE Boot Camp Training get MCSE Certification join MCSE Bootcamp
Auditing - mcse boot camp,
MCSE Boot Camp Training get MCSE Certification join MCSE Bootcamp
Auditing Access to Active
Directory Objects, MCSE Boot Camp & MCSE Training get MCSE Boot Camp
Certification join MCSE Boot camps
Auditing Access to Files and
Folders, MCSE Boot Camp Training get MCSE Certification join MCSE Bootcamp
Auditing Access to Printers,
MCSE Boot Camp Training get MCSE Certification join MCSE Bootcamp
Auditing Object Access
win2003, MCSE Boot Camp Training get MCSE Certification join MCSE Bootcamp
Authentication, MCSE Boot
Camp & MCSE Training get MCSE Boot Camp Certification join MCSE Boot camps
Authoritative Restores, MCSE
Boot Camp & MCSE Training boot camp get MCSE Certification join MCSE Boot camps
Automated System Recovery,
MCSE Boot Camp & MCSE Training boot camp get MCSE Certification join MCSE Boot
camps
Automatic IP Addressing, MCSE
Boot Camp & MCSE Training boot camp get MCSE Certification join MCSE Boot camps
Automatic Logon, MCSE Boot
Camp & MCSE Training get MCSE Boot Camp Certification join MCSE Boot camps
Automatic Updates, MCSE Boot
Camp & MCSE Training boot camp get MCSE Certification join MCSE Boot camps
Backing Up and Restoring Data,
MCSE Boot Camp & MCSE Training boot camp get MCSE Certification join MCSE Boot
camps