You are not logged in.

#1 2017-10-05 15:59

fasn
Member
Registered: 2017-09-09
Posts: 21

just change root password but forget what is

i think i just change my root password but i dont' know what to change since i have input so fast as i can not remember what i type

i setup auto login, so i can using system for post help msg. and i don't know how to change the root password as i don't know current password

Last edited by fasn (2017-10-05 16:25)

Offline

#2 2017-10-05 16:14

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,223
Website

Re: just change root password but forget what is

Use 'sudo' in terminal:
$ sudo passwd

Offline

#3 2017-10-05 16:23

fasn
Member
Registered: 2017-09-09
Posts: 21

Re: just change root password but forget what is

q4osteam wrote:

Use 'sudo' in terminal:
$ sudo passwd

i dont' know the current password. so i can  not use sudo

Offline

#4 2017-10-05 16:43

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,223
Website

Re: just change root password but forget what is

You need to reboot in recovery mode. Just tap 'esc' key at startup and go to 'advanced options' -> run in 'recovery mode'. Root console will open, type:
# passwd <your-username>
to set password.

Offline

Board footer

Powered by FluxBB