Active Topics

 


Reply
Thread Tools
Posts: 4 | Thanked: 0 times | Joined on May 2009
#1
I was attempting to add something to the sudoers list and, being tired and off my rocker, when vim refused to edit sudoers.d(as i said, off my rocker) i chmodded it to 777. Of course, now it tells me i must chmod to 440 before using sudo. Is there any way to save this without flashing?
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#2
Originally Posted by cry0 View Post
I was attempting to add something to the sudoers list and, being tired and off my rocker, when vim refused to edit sudoers.d(as i said, off my rocker) i chmodded it to 777. Of course, now it tells me i must chmod to 440 before using sudo. Is there any way to save this without flashing?
I don't use sudo gainroot, I just type root. Have tried that?

Also, can't you just ssh in? If so, you'll be root. If you haven't already installed the openssh stuff, I'm wondering if you need a working sudoers to use the Application Manager.

EDIT: Whoops, root just execs sudo gainroot.
__________________
N9: Go white or go home

Last edited by daperl; 2010-03-07 at 05:59.
 
Posts: 317 | Thanked: 787 times | Joined on Oct 2009 @ Krakow, Poland
#3
You need root access to rootfs in order to fix this. If by any chance you have installed Mer you can use it to access rootfs via SSH. Alternatively you could hack your tablet and use some exploit to gain root (I don't know of any working one).
 
Posts: 422 | Thanked: 244 times | Joined on Feb 2008
#4
Yeah install openssh and ssh to your n900 from another device as root (when you install openssh it will ask you to set a password for the root account)

Code:
ssh root@[your n900 ip address]
 
Posts: 287 | Thanked: 127 times | Joined on Oct 2009 @ Sweden
#5
If the above suggestions don't work, you might be albe to solve it by enabling R&D mode with the flasher. Disable it again as soon as you've fixed it, though.
 
Posts: 4 | Thanked: 0 times | Joined on May 2009
#6
thanks guys, lucky me the n900 can hold big files, its my only internet right now, and just downloaded the flasher/bin to flash this thing. i never installed ssh, and of course the app manager is now not functioning... time to flash.
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:16.