![]() |
Re: Need help cleaning up OpenSSH server install.
Quote:
|
Re: Need help cleaning up OpenSSH server install.
Alright, performed a command line install using --reinstall.
It pulled the deb, asked me for a password, but then said: chpasswd: can't lock password file. Then it created some SSH keys. Then said: useradd: unable to lock password file Afterwards, I tried to ssh localhost again and failed. Doesn't appear to be working still. |
Re: Need help cleaning up OpenSSH server install.
ls -al /etc/ | grep passwd
|
Re: Need help cleaning up OpenSSH server install.
Quote:
|
Re: Need help cleaning up OpenSSH server install.
-rw-r--r-- 1 root root 1003 Jan 13 10:27 /etc/passwd
|
Re: Need help cleaning up OpenSSH server install.
there should be a few .lock files in there... shadow.lock, passwd.lock, and group.lock.
They need to be removed... Short of this... check your root filesize usage... it might be full. |
Re: Need help cleaning up OpenSSH server install.
there is a "passwd. lock" (yes, with the space)
Not sure how to remove it |
Re: Need help cleaning up OpenSSH server install.
It has a space?? Wow FUBAR'd.
Code:
rm /etc/passwd.\ lockCode:
ls -al /etc/ | grep lock |
Re: Need help cleaning up OpenSSH server install.
Hi I have a similar problem however I have the following in /etc/
(passwd-) this is -rw------- (passwd) this is -rw-r--r-- and I can't SSH into the N900 from my linux machine the SSH daemon is up and able to bring the RSA fingerprint and not really sure where its going wrong. Edit: Should I remove these and reinstall? |
Re: Need help cleaning up OpenSSH server install.
Nono.. don't remove the passwd file ;). That's quite important.
The passwd- can be ignored as well. Your problem does not appear to be the same... can you run: Code:
ssh root@localhost |
| All times are GMT. The time now is 10:51. |
vBulletin® Version 3.8.8