![]() |
Any way to repair sudoers?
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?
|
Re: Any way to repair sudoers?
Quote:
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. |
Re: Any way to repair sudoers?
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).
|
Re: Any way to repair sudoers?
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] |
Re: Any way to repair sudoers?
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.
|
Re: Any way to repair sudoers?
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.
|
All times are GMT. The time now is 17:22. |
vBulletin® Version 3.8.8