On a new 8.1 box in our office we've been trying to use LinNeighborhood to mount Samba shares, like we are able to in SuSE 7.3. This always required that smbmnt be setuid root, which was fine. But in 8.1 this no longer works and an error message pops up saying that smbmnt cannot be setuid root anymore. What can we do to allow a non-root user to mount shares? - Greg
* Greg Macek (it-guy@mrichi.com) [021203 15:01]: ->On a new 8.1 box in our office we've been trying to use LinNeighborhood ->to mount Samba shares, like we are able to in SuSE 7.3. This always ->required that smbmnt be setuid root, which was fine. But in 8.1 this no ->longer works and an error message pops up saying that smbmnt cannot be ->setuid root anymore. What can we do to allow a non-root user to mount ->shares? You could use sudo which lets non root users execute commands as root but then after then command is executed they drop back to just a plain user. I saved an email sometime ago that said to setup the /etc/sudoers file like this.. ----- foo ALL=(ALL) /usr/bin/smbmount, /usr/bin/smbumount ----- If you don't want foo to have to type his passwd to run the commands: foo ALL=(ALL) NOPASSWD:/usr/bin/smbmount, /usr/bin/smbumount -- Ben Rosenberg ---===---===---===--- mailto:ben@whack.org Tell me what you believe.. I tell you what you should see.
participants (2)
-
Ben Rosenberg
-
Greg Macek