![]() |
passwords N900
Ok, I went to connect my N900 to my PC through openssh and when I open WinSCP I enter my user name 'user' and then it asks for password. I have not set a password and tried the default passwords but all are wrong passwords. Also on a different matter, when I enter sudo gainroot and try to execute a program it too asks for a password. I have installed rootsh too. Any ideas what or how to find the password?
|
Re: passwords N900
There is no passwd for 'user' by default, you have to create one for ssh. For the user 'user' you can do that without rootsh
Code:
passwd During the install of openssh you were asked to create the passwd for 'root'. One might not be able to decrypt this passwd from the hash stored in /etc/shadow file. You better know it... |
Re: passwords N900
I have never had success with 'sudo gainroot'. I always just type 'root' to become root and it does not ask me for a password. YMMV.
I was about to ask the same question about the default user password for SSH. Running 'passwd' as user gave me an error ("The password for user cannot be changed"), but having found this thread pointed me in the right direction. As root, run: Code:
passwd user |
All times are GMT. The time now is 04:13. |
vBulletin® Version 3.8.8