![]() |
root password
Hi,
Can anyone help me with root password of n900? |
Re: root password
Hi,
What do you think you need it for? What are you trying to do? Something from the terminal, or over ssh etc. Have you ever set one? Are you trying to retrieve a forgotten one? Don't want to give you the right information for the wrong job as it won;t help you:) |
Re: root password
i think he needs rootsh installed and type sudo gainroot
|
Re: root password
Quote:
|
Re: root password
hi, Thanks all for replying.
I do know abt rootsh. i have installed that. i do get root access when i execute sudo gainroot. but....... i want to know if i want to set a password for root. Below are the steps i follow :- sudo gainoot passwd --- i enter password (suppose i enter the password as abcde) - i reenter the password till here everything works fine. now if i close the terminal and open it and try to execute this comment sudo su - (trying to login as root) it prompts me to enter the password (if i enter the same password abcde) it throws an error :- sorry, try again. |
Re: root password
as far as my understanding goes once u set the root password then i should be able to login using that.
However i must admit i can still gain root access by rootsh (sudo rootgain) But i should still be able to login after entering the root password which i set earlier. Please help me. |
Re: root password
Quote:
However, have you tried sshing as root to the device (assuming you have an ssh server running on the phone? does the password work then? e.g. from a linux box on the same network: ssh root@YOUR.N900.IP.ADDRESS |
Re: root password
Quote:
Code:
sudo su - Code:
su - And since You want to change from 'user' to 'root' without using sudo just run su - :) |
Re: root password
i have tried it. but some reason it doesnt work.
Let me explain u the setup first. I have a win xp machine connected through a high speed internet. on other hand i have gprs enable on my n900. i am unable to ssh from my xp machine to n900 using putty. however i tried to ping the public ip address which my n900 has accquired and not sure why i am unable to ping n900 ip from win xp machine also :(. can u let me know if the setup which i explained will / should work. please do let me know incase i have missed something. sorry if i am troubling u guys. |
Re: root password
Quote:
Can you ssh to the phone from your laptop when they are on the same network (either an adhoc wifi supplied by the phone or a wi-fi network they both connect to)? |
All times are GMT. The time now is 18:06. |
vBulletin® Version 3.8.8