On Mon, Jul 05, 2004 at 02:26:16AM -0400, Paul M Foster wrote:
> I have sudo installed on my wife's machine, and a graphical menu in X to
> allow her (as a regular user) to mount, unmount and eject floppies and
> the CDROM. There's an entry in the /etc/sudoers file that allows her to
> do this, and it all works fine. The commands in the menu are on the
> order of sudo mount -t ext2 .... And on her machine, she is _never_
> required to provide a password for this.
>
> I'm trying to do the same thing on our laptop, and it all works the
> same, except that it insists on her giving her password in order to
> mount, unmount, etc. This is in line with the sudo docs. Which makes me
> wonder why the sudo on her machine doesn't ask for a password.
>
> One additional oddity. On the laptop, there's a directory called
> /var/run/sudo/nancyf that is apparently a timestamp, allowing sudo to
> request a password after a certain period of time has elapsed. But on
> her desktop, there is no such file. The versions of sudo are the same,
> same version number, same distro.
>
> In case it isn't clear, I'm trying to work it out so she doesn't have to
> give a password on the laptop for sudo stuff. Any clues would be
> helpful.
Never mind. This problem can be resolved by the NOPASSWD option or the
!authenticate option, or even by making the user part of the sudo group
(not recommended).
Always read _all_ the documentation before posting questions. ;-}
Paul
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:09:19 EDT