You could also try        echo "password" | passwd root --stdin to get the root password changed to something you like.

---


Regards,

Kevin Martin

On Wed, Feb 1, 2017 at 8:36 AM, Ralf Corsepius <rc040203@freenet.de> wrote:
On 02/01/2017 02:34 PM, François Patte wrote:

Install of f25 was (almost) easy *but* I am unable to login! I created a
user with a password but when I want to login system claims that the
password is incorrect. OK maybe I made a mistake, so I try to login as
root from the console : password is incorrect too!

I've seen this happening, when permissions and/or ownership of ssh-related directories were too open or incorrect[1].

To remedy this, try to boot from another medium (dvd/usb), mount your / (and /home) and check permissions/ownership of /etc/ssh/* and /home/<users>/.ssh.

What I also experienced, was being unable to initially log-in with SELinux enabled, seemingly because SELinux was broken after upgrades.
There, I first had to boot with SELinux disabled (Adding selinux=0 to the grub-prompt) to get into the machine, issue a "touch /.autorelabel" and reboot.

Ralf

[1] Seems to me as if previous Fedora versions allowed to set them to what ssh nowadays considers "too open" and upgrades carried these over.



_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org