mount: only root can do that

Daniell Freed dxf at dewittross.net
Fri Sep 8 14:28:12 GMT 2000


Thanks for the clarification.  These are things I did not know.

Urban Widmark wrote:

> 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

--
Daniell Freed
Computer Services
Dewitt, Ross, & Stevens S.C.

He who fights with monsters might take care
lest he thereby become a monster.
And if you gaze for long into an abyss,
the abyss gazes also into you.

Beyond Good and Evil
Friedrich Wilhelm Nietzche


-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list