mount: only root can do that

Urban Widmark urban at svenskatest.se
Fri Sep 8 13:54:32 GMT 2000


On Fri, 8 Sep 2000, Daniell Freed wrote:

> You need to set the suid bit on the /usr/bin/smbmount, /usr/bin/smbclient,
> and /usr/bin/smbmnt, then you can use smbmount to mount Samba shares.

The purpose of having smbmnt is that you do not have to make smbmount suid
(smbmount is too complicated to be made suid ...). smbclient is not
involved in mounting smbfs so do not make that suid either.

smbmnt and smbumount (notice the u) can be made suid and that should work
(does for me, but I prefer autofs) for both mounting and umounting.

/Urban





More information about the samba mailing list