View Single Post
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#3277
Originally Posted by Gusse View Post
Create user -file in /etc/sudoers.d/ and add following to it.
Code:
user ALL = (ALL) NOPASSWD: ALL
root ALL = (ALL) NOPASSWD: ALL
and run update-sudoers -command.
Don't do this!!!

You can get seriously messed up. The N900 runs all processes as user, and this way any script etc on your phone can completely destroy your system.

Rather, create the file /etc/sudoers.d/kernel-load.sh with this text:
Code:
user ALL = NOPASSWD: /usr/sbin/kernel-load
and then run
Code:
# update-sudoers
 

The Following 3 Users Say Thank You to 白い熊 For This Useful Post: