On Sun, 4 Mar 2012, Kazuo Ishii wrote:
Why don't you set as:
user1 ALL=(ALL) ALL
Fixed.
In fact, :w is not enough we need to :q visudo also!
?
2012/3/4, Patrick Dupre <patrick.dupre@xxxxxxxxxx>:
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@xxxxxxxxxx
==========================================================================
--
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@xxxxxxxxxxxxx
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
--
---
==========================================================================
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@xxxxxxxxxx
==========================================================================
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org