> 
> /usr/home/joeblow> sudo mount_smbfs //photocd@pdx-james/pub mnt
> Password:
> Password:
> mount_smbfs: unable to open connection: syserr = Authentication error
> 
> Here is the meat of my sudoers file:
> 
> # User privilege specification
> root    ALL=(ALL) ALL
> 
> # Uncomment to allow people in group wheel to run all commands
> %wheel  ALL=(ALL)       ALL
> 
> What is preventing joeblow from using mount_smbfs?
> 

You need to enter the sudo password first, and the password to mount the share second.

Alternatively, you could edit the sudo config file to allow wheel users to do that 
command with no password. I think it would look something like this:

        # Let wheel users mount_smbfs whatever they want without their password
        %wheel  ALL=(ALL) NOPASSWD: /sbin/mount_smbfs

-Will

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to