|
|
2009-12-18
, 01:01
|
|
Posts: 236 |
Thanked: 223 times |
Joined on Oct 2009
@ NE UK
|
#32
|
N900:~# passwd
Changing password for root
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
New password:
Re-enter new password:
Password changed.
N900:~#

N900:~# login
N900 login: root
Password:
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.
N900:~# exit
N900:~#
) and then do:
N900:~# ssh 127.0.0.1
The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.
RSA key fingerprint is e9:79:ff:ef:ea:7d:3b:f7:36:ae:dd:a2:20:b1:01:d3.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '127.0.0.1' (RSA) to the list of known hosts.
root@127.0.0.1's password:
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.
N900:~# exit
Connection to 127.0.0.1 closed.
N900:~#
| The Following User Says Thank You to kwotski For This Useful Post: | ||
|
|
2009-12-18
, 01:13
|
|
|
Posts: 850 |
Thanked: 626 times |
Joined on Sep 2009
@ Vienna, Austria
|
#33
|

apt-get install sysklogd klogd
vi /etc/syslog.conf
auth,authpriv.* /var/log/auth.log
:x
tail -f /var/log/auth.log

Dec 18 02:07:24 Nokia-N900-42-11 sshd[1817]: Accepted password for root from 172.16.66.14 port 48845 ssh2
/etc/init.d/ssh restart
|
|
2009-12-18
, 01:14
|
|
|
Posts: 850 |
Thanked: 626 times |
Joined on Sep 2009
@ Vienna, Austria
|
#34
|
sudo gainroot passwd
|
|
2009-12-18
, 01:19
|
|
Posts: 236 |
Thanked: 223 times |
Joined on Oct 2009
@ NE UK
|
#35
|
if you have rootsh installed, open xterminal and type
you are now prompted for a new root password.Code:sudo gainroot passwd

|
|
2009-12-18
, 01:21
|
|
|
Posts: 850 |
Thanked: 626 times |
Joined on Sep 2009
@ Vienna, Austria
|
#36
|
No kidding!
I was asking Dave999 how *he* was doing it. He isn't the clearest communicator, unfortunately
|
|
2009-12-18
, 01:51
|
|
|
Posts: 288 |
Thanked: 113 times |
Joined on Dec 2009
@ Germany
|
#37
|
|
|
2009-12-18
, 17:29
|
|
|
Posts: 7,071 |
Thanked: 9,040 times |
Joined on Oct 2009
@ Moon! It's not the East or the West side... it's the Dark Side
|
#38
|
|
|
2009-12-18
, 18:06
|
|
|
Posts: 288 |
Thanked: 113 times |
Joined on Dec 2009
@ Germany
|
#39
|
sudo gainroot
passwd root
# [enter password two times]
/etc/init.d/sshd stop
ps -ef | grep ssh
# [if ther is still an sshd running, run the above command again, if it does not help, kill the process
# Now we start sshd in debug mode to see whats going on:
/usr/sbin/sshd -d -f /etc/ssh/sshd_config
ssh root@${YOUR_DEVICE_IP}
# Enter your password
|
|
2009-12-18
, 18:42
|
|
|
Posts: 7,071 |
Thanked: 9,040 times |
Joined on Oct 2009
@ Moon! It's not the East or the West side... it's the Dark Side
|
#40
|
but cant uninstall rootsh.
yes, also running put with same result.
thx anyway