• Check it out - we have a chatbot! Go ask TuxBot a question in the Ask Tuxbot section!

Password problem.

Photon713

New Member
Joined
Feb 24, 2023
Messages
2
Reaction score
0
Credits
22
My new computer came installed with Linux and Mint 21.1. The original installed password "ABCD" was altered (unknown) before I could change to my password. What to do?
 


Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
3,747
Reaction score
2,495
Credits
27,936
Welcome to the forums
which password, root or user?
 

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,895
Reaction score
4,904
Credits
36,842
and....are they definitely upper case or perhaps lower case ?....Yes...it does make a difference.

Is caps lock on ?
 

osprey

Well-Known Member
Joined
Apr 15, 2022
Messages
545
Reaction score
457
Credits
5,039
Recovery method for password:

1. Restart computer
2. At grub menu press e
3. Navigate to linux kernel line
4. Add, after a space: init=/bin/sh rw
5. Press to boot: cntl+x
6. Run: /sbin/passwd <user>
7. Run: mount -o remount,ro /
8. Run: sync
9. Run: /sbin/reboot -f

At step 6, other things can also be done.
This process is linux essentials.
[Thanks Keith Owens in 1998]
 
OP
P

Photon713

New Member
Joined
Feb 24, 2023
Messages
2
Reaction score
0
Credits
22
I own a new computer with Linux and Mint 21.1 installed. No prior experience. The password installed was "abcd" lower case, it is now 6 characters long. How changed? unknown. I need to get a workable password. I have now decided to buy another Dell computer with Linux and Mint 21.1 installed and password and userid included. The first thing I'll do is change the password and userid and not take the chance that the password will change while I'm working on the "First 10 things to do when you have Mint 21.1 installed". Then, I can continue to learn Linux and Mint 21.1 as time permits. I knew how to "Restart computer" but got stuck on the second line. Bob
 

Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
3,747
Reaction score
2,495
Credits
27,936
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Staff online

Members online


Latest posts

Top