[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: suid root



Thanks that worked, also I have both smbmount and smbmnt, don't know why, but
did a chmod on both and its working good now.

Dan


Bruce Smith wrote:

> > I ran into a problem trying to mount a samba connection using smbmnt.
> > When it tries to run it creates a directory under /tmp but then gives an
> > error message "smbmnt must be installed suid root", how do I do this?
> > Root is the owner of the file and all users have executable rights as
> > well.
>
> Assuming the smbmnt command is in /usr/bin:
>
>   chmod +s /usr/bin/smbmnt
>
> Or if you prefer the octal version:
>
>   chmod 4755 /usr/bin/smbmnt
>
> I always thought it was smbmount instead of smbmnt?