Is it me or is it sudo?

Reindl Harald h.reindl at thelounge.net
Wed Mar 28 15:29:25 UTC 2012



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 at 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120328/4fe81eaf/attachment.sig>


More information about the users mailing list