Hi all.

Start with the fundamentals.....

     ls -l /etc/passwd /etc/shadow

Are the permissions correct?

I did even a ls -lZ and the permissions look okay for me.


     grep meikel /etc/passwd /etc/shadow

Is the user present in both files?

Yes, it is.


If the above looks good, try adding a new user and see if you can
login as that user.

It is not clear to me how I can do this, as I'm only able to start from a live media. If I run something like "useradd" this will add a user on the live media, but not on the installed system on the disk. As far as I know I need to chroot into the existing installation from the live media, but I never did that. With a quick search on the internet I found a sample script "Setting up chroot from a live image in Fedora. Regenerate grub2 for Fedora." (https://gist.github.com/Tamal/73e65bfb0e883e438310c5fe81c5de14) and I'm wondering if I could use this as a starting point?

Regards,

Meikel

--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to