Re: visudo

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Michael Havens
Date:  
To: Main PLUG discussion list
Subject: Re: visudo
I just tried saving it as sudoers rather than as the .tmp file but still it
requires a password. Please tell me what I am doing wrong?
Here is the file <user is ***>

# Cmnd alias specification

# User privilege specification
root    ALL=(ALL:ALL) ALL
***  ALL=(ALL:ALL) ALL


# Members of the admin group may gain root privileges
admin ALL=(ALL) ALL
*** ALL=(ALL:ALL) ALL

# Allow members of group sudo to execute any command
sudo    ALL=(ALL:ALL) ALL
***  ALL=(ALL:ALL) ALL



:-)~MIKE~(-:


On Mon, Jun 9, 2014 at 2:23 PM, James Mcphee <> wrote:

> sudoers.tmp is the lock file visudo uses to make sure there aren't
> multiple edits going on at the same time.
>
>
> On Mon, Jun 9, 2014 at 1:53 PM, Michael Havens <> wrote:
>
>> I am trying to add my user to 'sudoers'. After I do I press cntrl-X and
>> it says the file it is going to save is 'sudoers.tmp' . So I save it like
>> that and my user still requires a password. should I not save it as the
>> .tmp file but rather as 'sudoers'. I don't remember it being like that last
>> time I did this!
>> :-)~MIKE~(-:
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list -
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
>
>
> --
> James McPhee
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss