Author Topic: Can only log in as root  (Read 386 times)

Offline Foxblood

  • Newbie
  • *
  • Posts: 3
Can only log in as root
« 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.

Offline she_dyed

  • Newbie
  • *
  • Posts: 10
Re: Can only log in as root
« Reply #1 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.

Offline seppalta

  • Full Member
  • ***
  • Posts: 134
Re: Can only log in as root
« Reply #2 on: July 28, 2017, 09:01:47 pm »

Offline Foxblood

  • Newbie
  • *
  • Posts: 3
Re: Can only log in as root
« Reply #3 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?

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1679
    • SparkyLinux
Re: Can only log in as root
« Reply #4 on: July 30, 2017, 02:09:29 pm »
Login as root and check does any packages are not broken after the last upgrade:
Code: [Select]
dpkg --configure -a
apt install -f
Nothing is easy as it looks.
Danielle Steel

Offline Foxblood

  • Newbie
  • *
  • Posts: 3
Re: Can only log in as root
« Reply #5 on: July 31, 2017, 11:50:44 pm »
dpkg --configure -a gave no results. apt install -f removed some unnecessary packages.