On Wed, 2003-06-04 at 11:44, David Smith wrote:
> Matt Pittard wrote:
> > I am trying to setup my fstab file so that I mount my CAEDM drive
> > everytime I log in. 
> 
> I do this at home on my LAN. This fstab entry works for me:
> 
> //192.168.5.3/docs /mnt/desktop smbfs username=administrator%secret 0 
0
> 

In cases where you don't want to include your secret in the fstab
because it might be readable by others than yourself you can do:

//serverNameOrIP/sharename /mnt/sharepoint smbfs noauto,user 0  0

you'll also have to ensure the sharepoint is owned by the user mounting
it.  AND you'll need to run:

chmod u+s /usr/bin/smbmnt

as the root user.

The noauto in the fstab will of course require you to run:

mount /mnt/sharepoint

everytime you want to mount the drive.  In RH9 I simply put a launcher
on the desktop with the command 'mount /mnt/sharepoint' and told it to
run in a terminal.  It's pretty slick when you run it.  It opens a
terminal to ask for the password and closes it when it's done.  It even
puts an Icon to the share on your desktop.

Greg
-- 
Greg Felix <[EMAIL PROTECTED]


____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to