Mailinglist Archive: opensuse (3349 mails)

< Previous Next >
Re: [SLE] Root password corrupt?
  • From: Jonas Helgi Palsson <jonas.palsson@xxxxxxxxxxxxxxxx>
  • Date: Mon, 30 May 2005 10:14:55 +0200
  • Message-id: <200505301014.56014.jonas.palsson@xxxxxxxxxxxxxxxx>
On Saturday 28 May 2005 23:05, suse_gasjr4wd@xxxxxxx wrote:
> On 5/26/05 7:25 AM, "Ken Schneider" <suse-list@xxxxxxxxxxxxx> wrote:
> > Try to ssh into the box first, just in case it is a problem with
> > unplugging the keyboard.
> Tried that - nothing-

Perhaps root is not allowed to log in via ssh:
/etc/ssh/sshd_config :

#PermitRootLogin yes

if this is set to "No" then root can not login via ssh.

And then if you have problems with the password while using ssh, you could
make ssh-keys to log in with:

as root on your box:

marvin:~ # ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/root/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_dsa.
Your public key has been saved in /root/.ssh/
The key fingerprint is:
09:37:6f:ba:d5:ab:8f:14:2f:c0:4a:2d:98:89:7e:24 root@marvin
marvin:~ #

then copy the file /root/.ssh/ to the other machine and store it as

(where ~ represents your homecatalog)

Then you should be able to log in as root without giving any password.
Note that I did not specify a passphrase. That is _not_ a good security

And please look at the logs (/var/log/messages) while trying to log on to your
machine, it might tell you why it failed...



Jonas Helgi Palsson
"Því jú engum manni eru guðirnir svo grimmir, að gera hann fullkominn"

< Previous Next >
Follow Ups