Am 28.03.2012 17:22, schrieb Frank Murphy:
On 28/03/12 14:18, Mark Haney wrote:
>
> ## Allow root to run any commands anywhere
> root ALL=(ALL) ALL
> markh ALL=(ALL) NOPASSWD: ALL
try removing the space
markh ALL=(ALL) NOPASSWD: ALL
to:
markh ALL=(ALL) NOPASSWD:ALL
But are you certain,
no one else has access to your PC?
the space is not related, no idea why not working for the OP
see line below, this one works on a machine currently
F16 since it was installed with F9 in summer 2008
[root@buildserver:~]$ cat /etc/sudoers | grep builduser
builduser ALL=(ALL) NOPASSWD: ALL
________________
on a usual desktop PC with a standard-user it is a VERY bad
idea because any attacker only needs to try "sudo anything"
to get full control over the machine
this should be only used for special accounts on well
secured machines where no foreign code is running