Click to See Complete Forum and Search --> : SUDO as a USER


jrbush82
07-31-2001, 11:39 AM
I've read the documentation for SUDO, it really doesn't help much at all. I'm trying to use smbmount as a user, and I don't care if all users have this ability, I just want to be able to write to the server (windows) with linux as a user. SUDO confused me. If there is any other way, that'd be nice, but if not. Could someone please explain how to setup sudo so that smbmount can be used by a user?

jrbush82
07-31-2001, 02:06 PM
[jason@web1 jason]$ smbmount //webserver/webdesign ./webserver
Password:
smbmnt must be installed suid root for direct user mounts (500,500)
smbmnt failed: 1
[jason@web1 jason]$

that is what I get when trying to mount the server... in visudo I have this...

# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL) ALL
jason ALL=(ALL) ALL

I added jason with all stuff like root just to see if it'd work, I rebooted even... nothing... any ideas?