Active Topics

 


Reply
Thread Tools
Posts: 279 | Thanked: 95 times | Joined on Sep 2009
#1
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
 
Posts: 486 | Thanked: 154 times | Joined on Sep 2009 @ New York City
#2
Originally Posted by asidana View Post
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.
 

The Following User Says Thank You to hypnotik For This Useful Post:
Posts: 279 | Thanked: 95 times | Joined on Sep 2009
#3
thanks, i did have it installed but forgot to use gainroot command.
so there is no default password then?
 
eMHa's Avatar
Posts: 44 | Thanked: 29 times | Joined on Nov 2009 @ germany, heidelberg
#4
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's Avatar
Posts: 739 | Thanked: 242 times | Joined on Sep 2007 @ Montreal
#5
Agreed, ssh all the way :-)
 
casper27's Avatar
Posts: 844 | Thanked: 521 times | Joined on Jan 2009 @ UK southampton
#6
You can change the root password
Code:
sudo passwd root
enter new password..

Easy
 

The Following User Says Thank You to casper27 For This Useful Post:
Posts: 486 | Thanked: 154 times | Joined on Sep 2009 @ New York City
#7
 
Posts: 739 | Thanked: 114 times | Joined on Sep 2009
#8
download a program called sudu something...and it gives u access without password..it's in download area.
 
Posts: 16 | Thanked: 6 times | Joined on Jan 2010 @ UK
#9
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.
 
Posts: 287 | Thanked: 127 times | Joined on Oct 2009 @ Sweden
#10
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.
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:44.