LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-17-2023, 04:13 PM   #1
HABRAZIE
LQ Newbie
 
Registered: Jun 2023
Posts: 2

Rep: Reputation: 0
Question I forgot my zorin password


I installed Zorin on my second desktop and haven't used it for over a year. I have forgotten the password I used. It logs in automatically but when I try to do things like install something it wants the password. I downloaded Zorin ISO to reinstall I can't burn it to USB as it wants the password.
How can I fix the problem?
 
Old 06-17-2023, 04:31 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,146
Blog Entries: 6

Rep: Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834
Are you talking about resetting the root password or user password?

https://linuxconfig.org/recover-rese...-root-password
https://phoenixnap.com/kb/how-to-cha...password-linux
https://zoringroup.com/forum/6/5252/
 
Old 06-17-2023, 05:43 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,759

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
zorin is based on Ubuntu so I would assume the OP is referring to their user's password.
 
Old 06-17-2023, 08:05 PM   #4
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
The only way I know to securely manage a password reset if that is the only user on the system would be to boot to a live media, mount the root file system (such as at /mnt) then edit the /mnt/etc/shadow file and remove the password from the users line (being very careful to not alter any other part of that line (or any other line).

On my system that would mean changing a line that looks like the first line into one that appears like the second line.
Code:
user1:$g$j9T$WsrhbWhScBjQwCJSTngva0$juNq16kqyN9sbv3YSz/QcKmCjxMgWHbQ7NDoJ.m5qZA:19486:0:99999:7:::
user1::19486:0:99999:7:::
Once the file is changed and saved then the system is rebooted. Now the user will have no password and must reset it as one normally would do.
 
Old 06-17-2023, 11:19 PM   #5
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Do you have a recovery mode option in advanced grub options? Often that gives you a root shell, which you can use to set your password.
 
Old 06-18-2023, 03:05 AM   #6
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,985
Blog Entries: 33

Rep: Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469Reputation: 1469
HABRAZIE,

You need to hold down the Shift key as the computer boots up.

From the displayed Boot Menu, select recovery mode and then follow the rest of these instructions:
https://www.psychocats.net/ubuntu/resetpassword
 
Old 06-18-2023, 11:01 AM   #7
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,149

Rep: Reputation: 393Reputation: 393Reputation: 393Reputation: 393
Quote:
The only way I know to securely manage a password reset if that is the only user on the system would be to boot to a live media, mount the root file system (such as at /mnt) then edit the /mnt/etc/shadow file and remove the password from the users line (being very careful to not alter any other part of that line (or any other line).

On my system that would mean changing a line that looks like the first line into one that appears like the second line.
Code:

user1:$g$j9T$WsrhbWhScBjQwCJSTngva0$juNq16kqyN9sbv3YSz/QcKmCjxMgWHbQ7NDoJ.m5qZA:19486:0:99999:7:::
user1::19486:0:99999:7:::

Once the file is changed and saved then the system is rebooted. Now the user will have no password and must reset it as one normally would do.
Wouldn't it be safer to load the live, chroot and just run
Code:
passwd user
No reason to edit that thing more than necessary I'd think. As the chroot is under root it will skip prompting for the old password before letting you enter the new one.
 
Old 06-19-2023, 12:47 PM   #8
HABRAZIE
LQ Newbie
 
Registered: Jun 2023
Posts: 2

Original Poster
Rep: Reputation: 0
I have tried many things and none work. Holding the shift key goes nothing. Holding the escape key goes to grub but has no advanced or recovery choices. I have backed up my Home so I am going to just reinstall Linux maybe new flavor.
Thank you all for the help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I have troubles. Blinks: Zorin OS12 zorin tty1 zorin login:_ FRANCISCO JAHN Linux - Newbie 1 09-23-2020 07:02 PM
installed zorin os my i phone tethering wireless does not connect to zorin walt8 Linux - Newbie 2 06-18-2010 05:54 AM
installed zorin os my i phone tethering wireless does not connect to zorin walt8 Linux - Newbie 1 06-18-2010 03:38 AM
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 04:11 AM
forgot my password ? i can change the password JrLz Linux - Security 9 04-06-2004 07:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration