From owner-freebsd-questions Thu Oct 17 13:36: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E3D037B401 for ; Thu, 17 Oct 2002 13:36:01 -0700 (PDT) Received: from bragi.housing.ufl.edu (bragi.housing.ufl.edu [128.227.47.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6B5343E42 for ; Thu, 17 Oct 2002 13:36:00 -0700 (PDT) (envelope-from WillS@housing.ufl.edu) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Subject: RE: sudo and mount_smbfs authentication problem Date: Thu, 17 Oct 2002 16:35:59 -0400 Message-ID: <0E972CEE334BFE4291CD07E056C76ED8018BA3@bragi.housing.ufl.edu> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: sudo and mount_smbfs authentication problem Thread-Index: AcJ2G/fPhRrfadJUTGu/I7Y+HaS/lwAABFLg From: "Will Saxon" To: "James Long" , Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >=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