Re: how users can change cpu frequency ?

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

 



On Mon, Dec 27, 2010 at 00:52, Alessandro Boggiano <boggiano@xxxxxxxxx> wrote:
Hi all,
I'd like to permit to users to scaling the cpu frequency
using the applet cpu scaling inside gnome without typing root password.
How can I do it?


If that can be done with a command, add the user and command to sudoers with the NOPASSWD option.

#visusdo
add the following line:
user ALL=(ALL) NOPASSWD:command

then your user can use "sudo command"Â

You may also grant this access to a group. It may be better to grant the access in sudoers to a group, then add individuals to the group as needed.

"Normally" with sudo, the user will be prompted for their own password, but if you want no passwd prompt at all, use the NOPASSWD option as shown above

Something else to consider adding to sudoers...
Defaults passprompt = "[sudo] Please enter the password %p: "

Otherwise the prompt will simply be "Password: " and it's not very clear which password is being asked for. With the above line in effect, it's clear the prompt is coming from sudo, and which password is required. :-)
-- 
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
[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