![]() |
Couldn't setup password during openSSH server install
During the installation of the openSSH-server the setup (apparently) asks for a username and password. However, a split-second before this screen appears I pushed the 'task-overview button'. I saw the screen, but the finger movement was already unstoppable ;-)
The problem: when I returned to the app-manager this screen was disappeared and I couldn't 'find it anywhere'. The installation seemed to be finished fine. I uninstalled immediately all the openSSH programs and tried to install it again. However: it didn't ask for the username and password again. My question: do I know have a user 'blank' with password 'blank' or something? What should I do to setup all the openSSH configs and users correctly? Many thanks! Gerald |
Re: Couldn't setup password during openSSH server install
As root dpkg --purge openssh-server
Then try to reinstall it (you can also change the root password which is the same as the openssh-server one) |
Re: Couldn't setup password during openSSH server install
Or you can just open X-term and change the password there.
|
Re: Couldn't setup password during openSSH server install
Purging the installed package won't undo any changes done to /etc/passwd and /etc/shadow.
Installing the package again might very well not ask for a password since these files have changed already. You change passwords using the passwd command. Berome root and type the command alone to change root password. As root, Code:
passwd <username> |
Re: Couldn't setup password during openSSH server install
Thanks to the answers! I thought to have seen a 'Username' and 'Password' field, but it turned out to be only two password fields for changing the root password. So after installing again I changed the password using 'sudo gainroot' and 'passwd'. Everything seems to be working ok now!
|
Re: Couldn't setup password during openSSH server install
Still, this might be worth filing as a bug against openssh, as I don't think that dialogue should disappear just because you task-switched.
|
All times are GMT. The time now is 00:23. |
vBulletin® Version 3.8.8