Re: sudo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Why don't you set as:

user1        ALL=(ALL)       ALL

?

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


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux