Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Share, Mount, Mountpoints, Automount Help

Status
Not open for further replies.

Michael42

Programmer
Oct 8, 2001
1,454
0
0
US
Hello, I am running SunOS 5.6. I need users that access my server from their client systems to access a particular directory without having to specify the full path.

They need to access it so as, once logged in, they can go to the /export/home/cots directory by changing directory (cd) to /cots.

How can I do this without NIS?

Thanks very much, Michael

MCSE NT\2000, UNIX, Novell
Java, JSP, ASP, VB
 
Why not create a symlink to the full path?
ln -fs /export/home/cots cots
 
For get symbolic links....

automount is the way......

edit the /etc/auto_master
/cots auto_home -nobrowse

then edit the auto_home and add the following...
/cots -hard localhost:/export/home/cots

man page is good for this....

Dont't forget to restart the automountd, DO NOT Stop it...

/etc/rc2.d/S74autofs start

Voila..

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top