On 11/27/06, Dhosthi Dhosthi <[EMAIL PROTECTED]> wrote:
While working in SMB4k to mount win shares on a p2p
network, I get the error: smbmnt must be installed
suid root for direct user mounts (1000.1000)

It means that one executable must be set UID root, not that the user
using it is root. Basically it means that whoever executes that
program, it executes with root privileges. This has some pretty
serious security implications because if a suid root binary has an
exploitable flaw it means that an attacker can potentially end-run
around other security measures.

suid root binaries are generally to be avoided, but sometimes there is
no other way to achieve the desired functionality.

Based on what little you wrote about what you are trying to achieve,
perhaps adding the desired mount statements to fstab would allow you
to do what you want without needing to make the binary suid root.
However, if the windows machines disappear, the linux box will
complain.

More generally, http://backuppc.sourceforge.net/ might help you do
what you are trying to accomplish in a more elegant, manageable way.
It is in one of the official Ubuntu repos, Universe I think.

--
-Regards-

-Quentin Hartman-
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to