Re: Login not possible after upgrade fom Fedora Xfce version 40 to version 41

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 19, 2024 at 8:48 AM Meikel <meikel@xxxxx> wrote:
> > 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?

You can:
- useradd --root absolute-dirname
- chroot
- edit the files directly

Other thoughts as to things to check....
- expired passwords
- bad character in the password field in /etc/passwd [1]
- something messed-up with PAM - can't help much there

[1] Many years ago I supported a Unix system where suddenly account
passwords weren't working.  IIRC the passwords were set to "*" instead
of "x".  I assume there was an update of some sort and prior to the
update it accepted "*" as "use shadow", but after the update it
insisted on "x".  It was a long time ago, and I may not be remembering
the details correctly.
-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux