sudo

Kazuo Ishii freeparis2 at gmail.com
Sun Mar 4 05:37:07 UTC 2012


Why don't you set as:

user1        ALL=(ALL)       ALL

?

2012/3/4, Patrick Dupre <patrick.dupre at york.ac.uk>:
> Hello,
>
> With fedora 14 I cannot make sudo works fine.
>
> sudo-1.7.4p5-2.fc14.x86_64
>
> I edited /etc/sudoers (with visudo)B
>
> I set:
> user1 teucidide=/sbin/shutdown -h now
> or
> %wheel        ALL=(ALL)       ALL
> user1 is member of wheel
>
> user1 teucidide=/sbin/shutdown -h now
>
> But every time I get:
> user1 is not allowed to run sudo on teucidide. This incident will be
> reported.
>
> I also get:
>
> teucidide : Mar  4 02:38:21 : user1 : no valid sudoers sources found,
> quitting ; TTY=pts/3 ; PWD=/home/user1 ; COMMAND=/sbin/shutdown
>
>
> /etc/sudoers has the correct rights.
> /etc/sudoers.d is empty
>
> What is wrong?
>
> --
> ---
> ==========================================================================
>   Patrick DUPRÉ                      |   |
>   Department of Chemistry            |   |  Phone: (44)-(0)-1904-434384
>   The University of York             |   |  Fax:   (44)-(0)-1904-432516
>   Heslington                         |   |
>   York YO10 5DD  United Kingdom      |   |  email: patrick.dupre at york.ac.uk
> ==========================================================================


-- 
Kazuo Ishii, Ph.D., Professor of Genome Science,
Tokyo University of Agriculture and Technology
3-5-8 Saiwai-cho, Fuchu, Tokyo 183-8509, JAPAN
Email: kishii at cc.tuat.ac.jp


More information about the users mailing list