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

Re: suid root



> 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?

--------------------------------------------
Bruce Smith                bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan  49093  USA
http://www.armstrong-intl.com/
--------------------------------------------