maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Default root password on Chinook OS2008 (https://talk.maemo.org/showthread.php?t=13392)

febb 2007-12-19 04:05

Default root password on Chinook OS2008
 
Hi

I have upgraded my N800 to Chinook, it all went well. Finally I as able to install openssh.

Now, to get into root, the usual root is/was: ssh -X root@localhost
type at xterm, of course.

Now, the system ask for root's password. It used to be "rootme" as default, if I recall correctly. Seems it has been changed.

Anybody knows what is this new default root password on Chinook ?

Thanks.

coffeedrinker 2007-12-19 07:00

Re: Default root password on Chinook OS2008
 
You need to install becomeroot and sudo gainroot. Then you can use passwd to change the root password and then you can ssh in with that.

kgingeri 2007-12-19 07:16

Re: Default root password on Chinook OS2008
 
I got in right away with an ssh client (Putty) and user "root" and pswd "rootme" - I may have install becomeroot first - can't remember, but I don't think it would have anything to do with ssh. I did install open-ssh first.

BTW another trick I use is to add the line:
Quote:

user ALL = NOPASSWD: /bin/ash
to the /etc/sudoers file. BEWARE bad syntax in this file can brick your ability to get root access - or at least make it more difficult! ;) Most linux systems have a special utility for editing the sudoers file (visudoers?)- I haven't found it on the Nokia IT yet.

After that you can just "sudo ash" in xterm - a bit less typing.

RipTorn 2007-12-19 08:00

Re: Default root password on Chinook OS2008
 
you can install the latest openSSH server and it prompts you to enter a password, then there is no need to install gainroot or anything like that.

but really its up to personal preference

free 2007-12-19 11:11

Re: Default root password on Chinook OS2008
 
Quote:

Originally Posted by kgingeri (Post 110954)
Most linux systems have a special utility for editing the sudoers file (visudoers?)- I haven't found it on the Nokia IT yet.

EDITOR=/usr/bin/vi /usr/sbin/visudo


All times are GMT. The time now is 17:23.

vBulletin® Version 3.8.8