Mounting SMB shares without root

Urban Widmark urban at teststation.com
Mon Jan 14 00:52:23 GMT 2002


On Sun, 13 Jan 2002, Marc R. Hoffman wrote:

> How for the really big question...How do I set this up in the /etc/fstab 
> so that the share auto-mounts without mounting in root? I can get it to 
> mount, but without the root account, I can "look, but no touch"...

1. Look at the uid/gid/fmask/dmask options to smbmount.
2. smbmount when run from /etc/fstab does not support all mount options,
   specifically not the "user" option, so it must be mounted by root. For
   now try autofs, pam_mount to allow automatic mounting by non-root.

/Urban





More information about the samba mailing list