Re: sudo and mount_smbfs authentication problem

[ Available lists | Index of freebsd-questions | Month of Oct 2002 | Week of 17 Oct 2002 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
James Long <list@museum.rain.com>
Date
17 Oct 2002 14:20:14
Subject
Re: sudo and mount_smbfs authentication problem
Message-ID
20021017142004.A8295@ns.museum.rain.com

References to

[ Hide this part ]
On Thu, Oct 17, 2002 at 04:35:59PM -0400, Will Saxon wrote:
> >
> > /usr/home/joeblow> sudo mount_smbfs //photocd@pdx-james/pub mnt
> > Password:
> > Password:
> > mount_smbfs: unable to open connection: syserr = Authentication error
> >
> You need to enter the sudo password first, and the password to mount the share second.

Thank you for your reply.

Yes, that's what I did at those two Password: prompts above. Otherwise,
sudo would have put one of it's silly error messages after the first
password propt.

> 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:

I did modify sudoers to allow wheel to run that without a sudo password,
and I still get the error after entering the correct share password.

Password:
mount_smbfs: unable to open connection: syserr = Authentication error

The same mount_smbfs command line and the same password works when I run
the command as root.

Any other suggestions I might try?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Elapsed time: 0.075 seconds