The Following 8 Users Say Thank You to joerg_rw For This Useful Post: | ||
![]() |
2010-09-13
, 18:41
|
|
Posts: 334 |
Thanked: 171 times |
Joined on Dec 2009
|
#2
|
![]() |
2011-01-25
, 15:54
|
Posts: 219 |
Thanked: 40 times |
Joined on Sep 2010
|
#3
|
Defaults targetpw user ALL = PASSWD: /usr/sbin/gainroot
![]() |
2011-01-25
, 15:58
|
|
Posts: 1,169 |
Thanked: 1,174 times |
Joined on Jan 2010
@ sunderland
|
#4
|
![]() |
2011-01-25
, 16:06
|
Posts: 219 |
Thanked: 40 times |
Joined on Sep 2010
|
#5
|
Defaults env_keep+=GTK_MODULES user ALL = PASSWD: ALL
![]() |
2011-01-25
, 21:43
|
Posts: 323 |
Thanked: 116 times |
Joined on Jul 2010
|
#6
|
![]() |
2011-01-25
, 21:57
|
Posts: 1,042 |
Thanked: 430 times |
Joined on May 2010
|
#7
|
The Following User Says Thank You to Radicalz38 For This Useful Post: | ||
become root (if you don't know how, then all this doesn't apply to you anyway)
make sure you have proper root password set!
run command:
run update-sudoers, check there's no warnings or errors
if sudo gainroot still doesn't ask for password, it might be cached from previous entering it: sudo -k clears pw cache
Tested for PR1.2 with default rootsh installed, works for me. If you bork everything, a reinstall of rootsh package should get you out of quicksand
THIS IS ABOUT *ROOT* PASSWORD for root account, not about that silly Ubuntu idiocy to ask for user password to do root things
this is an excerpt of http://wiki.maemo.org/User:Joerg_rw/tools
If you feel this is a useful post, consider hitting the 'Thanks' button over ->there
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member
EX Hildon Foundation approved Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/
IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
Last edited by joerg_rw; 2010-09-13 at 18:49.