Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2002 16:35:59 -0400
From:      "Will Saxon" <WillS@housing.ufl.edu>
To:        "James Long" <list@museum.rain.com>, <freebsd-questions@freebsd.org>
Subject:   RE: sudo and mount_smbfs authentication problem
Message-ID:  <0E972CEE334BFE4291CD07E056C76ED8018BA3@bragi.housing.ufl.edu>

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

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=3D(ALL) NOPASSWD: /sbin/mount_smbfs

-Will

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0E972CEE334BFE4291CD07E056C76ED8018BA3>