Reply
Thread Tools
Posts: 16 | Thanked: 8 times | Joined on Jun 2012 @ Earth
#1
For an unknown reason my device emptied the /etc/sudoers file. (After reboot)

So, I have no root access anywhere!

Could some post the content of the /etc/sudoers file?

[I have installed power kernel, cssu and gainroot - in case any of these changes the file]
 
Posts: 16 | Thanked: 8 times | Joined on Jun 2012 @ Earth
#2
Noone?

Just cat /etc/sudoers and post the Output? I really don't want to reflash now!

Last edited by akatzbreaker; 2013-09-29 at 21:52.
 
Posts: 16 | Thanked: 8 times | Joined on Jun 2012 @ Earth
#3
Nevermind... I will have to Reflash my N900.... I won't be able to edit the file since I don't have Root Priviliges....


Moderators please delete this thread...
 
Posts: 578 | Thanked: 994 times | Joined on Dec 2012
#4
There is always some way. Read thread about rescueOS, chroot to maemo and do update-sudoers.
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#5
You don't have to reflash to get root, though you do need the flasher - the same program that flashes the N900 can also turn on/off R&D Mode on the N900, and if that's enabled, then you can execute "sudo gainroot" without any special sudoers entries. (Although I believe the package rootsh changes the gainroot script, which might break that, but I don't think that's the case.)
 
Reply

Tags
/etc/sudoers, content, maemo, sudoers


 
Forum Jump


All times are GMT. The time now is 04:08.