forgot sudo password
#7
Then your user password isn't set to what you think it is. So you'll have to log in as root and "passwd <user>" replacing <user> with your username.

If you know the root password, you can probably become root by typing "su"

If you don't know the root password, you'll have to boot single user mode (does Linux do that?) Or, boot the same operating system from another drive (SD card versus eMMC or maybe USB) and manually edit your /etc/shadow file to delete the password. I'm assuming that even works in Linux; I haven't manually edited a shadow file since Solaris.

Also important: if you're using Manjaro, make sure to fully update the operating system. In some versions, the keyboard settings will be different when you login compared to after log in. If you can login with a password but can't authenticate after login, that could be the issue. You might be typing gibberish letters and don't even know it because the password is hidden when you're typing it at login.


Messages In This Thread
forgot sudo password - by 20 jason20 - 09-19-2020, 11:14 AM
RE: forgot sudo password - by Arwen - 09-19-2020, 07:02 PM
RE: forgot sudo password - by Doodenheimer - 09-26-2020, 04:38 PM
RE: forgot sudo password - by KC9UDX - 09-26-2020, 05:21 PM
RE: forgot sudo password - by Doodenheimer - 09-26-2020, 05:39 PM
RE: forgot sudo password - by KC9UDX - 09-26-2020, 06:54 PM
RE: forgot sudo password - by Doodenheimer - 09-26-2020, 07:15 PM
RE: forgot sudo password - by KC9UDX - 09-26-2020, 07:29 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to set password for terminal TonyMeyer 3 917 11-13-2023, 04:28 PM
Last Post: Kevin Kofler
  Setup My Pinebook 64 and Lost Password jersdayoff 5 5,942 05-01-2021, 10:29 PM
Last Post: wdt
  Password Issue Doodenheimer 0 2,127 09-27-2020, 04:36 AM
Last Post: Doodenheimer
  debian user name & password Kaupy 1 3,927 10-08-2016, 12:18 AM
Last Post: MarkHaysHarris777

Forum Jump:


Users browsing this thread: 1 Guest(s)