maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   default password and how to change it (https://talk.maemo.org/showthread.php?t=36321)

asidana 2009-12-08 18:51

default password and how to change it
 
i was trying to reboot n900 from xterminal and typed sudo reboot. it asked me password which i have no idea what it is. What is default pw and how can i change it?
thanks

hypnotik 2009-12-08 18:54

Re: default password and how to change it
 
Quote:

Originally Posted by asidana (Post 417105)
i was trying to reboot n900 from xterminal and typed sudo reboot. it asked me password which i have no idea what it is. What is default pw and how can i change it?
thanks

You want to install the rootsh package from extras first:

then do:

$ sudo gainroot
# reboot

I'm not sure what the password is.

asidana 2009-12-08 18:57

Re: default password and how to change it
 
thanks, i did have it installed but forgot to use gainroot command.
so there is no default password then?

eMHa 2009-12-08 18:58

Re: default password and how to change it
 
There's no password set! Not for root and not for user! The password is disabled and NOT left empty!

IMHO gainroot is not as safe (internet security) as installing ssh server and setting root password while installing ssh server (and copying ssh pub key and disbleing root password).

R-R 2009-12-08 18:59

Re: default password and how to change it
 
Agreed, ssh all the way :-)

casper27 2009-12-08 19:10

Re: default password and how to change it
 
You can change the root password
Code:

sudo passwd root
enter new password..

Easy

hypnotik 2009-12-08 19:17

Re: default password and how to change it
 
sudo make me a sandwich?

romanianusa 2009-12-08 21:10

Re: default password and how to change it
 
download a program called sudu something...and it gives u access without password..it's in download area.

Bodestone 2010-02-03 20:11

Re: default password and how to change it
 
OK, I know this is an old thread and I may be asking a silly question but...

I followed the: sudo passwd root
I set a password. I assumed that this meant that I would need to enter a password each time I used sudo for root access. Is this not the case?

I seem to still be able to run commands with root access just by using sudo.

Sorry, a little new to linux and am still digging around some of the basics.

floffe 2010-02-04 09:53

Re: default password and how to change it
 
sudo uses the user password rather than root, when it uses one at all. I think on the N900 it's setup to never ask for a password at all (look at /etc/sudoers but DO NOT EDIT MANUALLY). See http://talk.maemo.org/showthread.php?p=491437 for some more info.


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

vBulletin® Version 3.8.8