Here is how to make smbmnt run as SUID; as root run:
whereis smbmnt
(this is in /usr/bin/ on my system, so I will use that path)
chmod +s /usr/bin/smbmnt
Now, using your regular account, try you actions again. You may find
that some other programs need to be SUID also (I believe that mount will
need to be, if it isn't already), just do the chmod +s on those, as root
of course.
Thanks,
Chris
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)
This may be so obvious, however:
Does this indicate that everytime one mounts the
shares, it requires a current login as ROOT?
I would like to automate the backup of four win boxes
using a beautiful Ubuntu6.10 box that see's the
network but can't get into the shared folders on each,
much less automate a nightly grab of critical files.
Would hate to keep it running logged in as ROOT.
Cheers,
g
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug