![]() |
Re: an already "gainrooted" xterm
I forgot a step. Run update-sudoers (as root) after creating the .sudoers file.
|
Re: an already "gainrooted" xterm
ok, now this looks interesting:
Quote:
Quote:
Thanks |
Re: an already "gainrooted" xterm
Editing the sudoers file is very difficult to use anything but VI. (I don't know what you use)
The actual recommended way is using "visudo".. I don't know if the N900 has that or not. Essentially even wrong end of line characters can cause sudo to stop working. Just some thoughts... in vi if you use ":set list" you can see the end of line characters... ^M == bad. |
Re: an already "gainrooted" xterm
Just don't reboot, Bec, as you might need to reflash your system if you do. Copy a working 01sudo file (for example, from here: http://my.arava.co.il/~matan/770/n900/01sudo ) and run update-sudoers.
|
Re: an already "gainrooted" xterm
Quote:
Quote:
|
Re: an already "gainrooted" xterm
Quote:
sudo gainroot asks for a password... For the first time I use it, no matter how many times I've tried to set one (always the same) it didn't seem to work... Problem is that the usual password doesn't work... |
Re: an already "gainrooted" xterm
It asks for user's password, not root password. Did you install openssh server? If so, ssh directly to root.
|
Re: an already "gainrooted" xterm
I've ssh-ited it... surprisingly it stopped asking for a password... awkward
|
Re: an already "gainrooted" xterm
Quote:
Thanks |
Re: an already "gainrooted" xterm
visudo is an editor that checks the file has the corrext syntax for a sudoers file before overwriting the original.
|
| All times are GMT. The time now is 08:12. |
vBulletin® Version 3.8.8