Re: how can i make restart not require root password

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

 



On Wed, Sep 04, 2013 at 12:31:46PM -0400, Bill Davidsen wrote:
> Jehan Procaccia wrote:
> >Le 04/09/2013 17:08, Bill Davidsen a écrit :
> >>
> >>3 - However, if it is your intention to let any user reboot at any time,
> >>use visudo to add a line:
> >>  %booters        ALL=(ALL)       NOPASSWD: /sbin/reboot
> >>so the next student could log in and reboot from command line with
> >>  sudo su /sbin/reboot
> >>Note that this requires putting all students allowed to do this (all of
> >>them?) into a secondary group allowed to reboot.
> >>
> >unfortunatly , some user never use a terminal and would'nt know how to use
> >a command line as "sudo su /sbin/reboot"
> >the purpose here was to enable restart from the drop down menu withing the
> >gnome session .
> >
> Actually command lines are specified in menu items and icons...

I don't think sudo works from a menu, you need gksudo or ksudo for that.
That said, sudo is a hammer compared to polkit.  For example, polkit can
restrict allowed actions to a user present at the physical terminal (as
the OP wanted), I don't think sudo can do that.

PS: I use sudo all the time, but then on my machines, I'm the only real user.

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
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