SparkyLinux Forums

Software & hardware support => Newbie questions => Topic started by: Foxblood on July 27, 2017, 10:59:55 PM

Title: Can only log in as root
Post by: Foxblood on July 27, 2017, 10:59:55 PM
Hi, new to Sparky. After a recent update/upgrade, I can no longer log in as username, I can only log in as root. Any guidance would be very much appreciated. Thanks for your time.
Title: Re: Can only log in as root
Post by: she_dyed on July 28, 2017, 01:55:39 PM
the good news is, root can give him an easy password, for example ezpassword. This user can now log in using that temporary password, and the first thing he MUST do is change it to a new password he can remember easily.

If you are not familiar with the command or any command you can type man passwd on the terminal and "man" is the instruction that invokes the *nix manual for that command.

So to summarize, the superuser sets a temporary password, so that this new user can log in to set his or her own password.
Title: Re: Can only log in as root
Post by: seppalta on July 28, 2017, 09:01:47 PM
http://lxlinux.com/login-pswd.html
Title: Re: Can only log in as root
Post by: Foxblood on July 29, 2017, 04:01:45 PM
I have changed password to no avail. I went so far as to remove user and re-add user again, still no joy. Is there anything else I can look at?
Title: Re: Can only log in as root
Post by: pavroo on July 30, 2017, 02:09:29 PM
Login as root and check does any packages are not broken after the last upgrade:
dpkg --configure -a
apt install -f
Title: Re: Can only log in as root
Post by: Foxblood on July 31, 2017, 11:50:44 PM
dpkg --configure -a gave no results. apt install -f removed some unnecessary packages.