[prev in list] [next in list] [prev in thread] [next in thread]
List: sudo-users
Subject: Re: [sudo-users] sudo problem
From: Matthew Hannigan <mlh () zip ! com ! au>
Date: 2009-09-22 4:11:52
Message-ID: 20090922041152.GB17260 () evofed ! localdomain
[Download RAW message or body]
On Mon, Sep 21, 2009 at 04:08:56PM +0800, kevan wrote:
> I have only recently loaded Linux Fedora11 onto my lap top and am having
> a small problem with sudo
>
> I installed it using.
>
> echo 'kevan ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
Not guaranteed to work as the last line might not have had a
trailing newline; in which case the above gets appended to the last line.
If you want to do this sort of thing, used 'ed' or some other
scriptable editor like this:
EDITOR=ed visudo <<!
$
a
kevan ALL=(ALL) NOPASSWD:ALL
.
w
q
!
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic