[Samba] pam_mount: /etc/fstab or suid root smbmount?

Urban Widmark urban at teststation.com
Wed Aug 14 08:46:02 GMT 2002


On Wed, 14 Aug 2002, Joshua Daniel Franklin wrote:

> Now, the alternative is to make smbmount suid root. This might be a 
> security issue, but less messing with /etc/fstab (not much of an issue here,
> but imagine if you had several thousand users in a win2k domain).
> Any thoughts on which would be better?

You shouldn't make smbmount suid root. To allow user mounts it should be
enough to make smbmnt suid root. I haven't used pam_mount so perhaps it
needs something else.

For the thousands of user case autofs maps can be useful.

/Urban




More information about the samba mailing list