You are not logged in.

#1 2022-06-09 20:48

dfsrtrrgt
Member
Registered: 2022-04-01
Posts: 26

The root and user password in a Automatic installed Q4OS OS after i..

What is the root and user  password in a Automatic installed Q4OS OS after i followed the instructions in this forum Tips and tutorials Discussion Topic How to recover/restore forgotten/lost password thread and in the step in this treaad after i changed the user password with passwd <username> command i executed this command passwd root and then i changed the passwd as i did when i executed the passwd <username> command; and when i log to enter to my desktop environment and i can do it: but when i try to confirm a password trying to execute a sudo command at the terminal and install programs; the password that i use to log in doesn´t work ?

Last edited by dfsrtrrgt (2022-06-10 20:18)

Offline

#2 2022-06-09 21:17

dfsrtrrgt
Member
Registered: 2022-04-01
Posts: 26

Re: The root and user password in a Automatic installed Q4OS OS after i..

I have edited my post in a way you can understand it

Offline

#3 2022-06-10 07:35

hchiper
Member
From: Belgium
Registered: 2020-07-28
Posts: 519

Re: The root and user password in a Automatic installed Q4OS OS after i..

dfsrtrrgt wrote:

I have edited my post in a way you can understand it

Not clear at least to me (English is not my mother tongue and I miss punctuation a lot).

If, as I guess, you changed successfully <username>' and root's passwords, they are now exactly those you provided.
Note that root account is disabled by default (you cannot login as root, even if you know the password), but the first user is member of the sudo group and he can issue any command with root rights using

$ sudo <command>

(user's password will be asked).

Last edited by hchiper (2022-06-10 07:37)


Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD

Offline

#4 2022-06-10 20:19

dfsrtrrgt
Member
Registered: 2022-04-01
Posts: 26

Re: The root and user password in a Automatic installed Q4OS OS after i..

i have edited again my command; so you now more clear what i need

Offline

#5 2022-06-11 09:44

hchiper
Member
From: Belgium
Registered: 2020-07-28
Posts: 519

Re: The root and user password in a Automatic installed Q4OS OS after i..

This is the way I understand your problem:

What is the root and user password in a Automatic installed Q4OS OS?

I followed the instructions in this forum (Tips and tutorials > How to recover/restore forgotten/lost password)
I changed the user password:

passwd <username>

I also changed root password:

passwd root

Now I can log in to my desktop environment.
But when I try to execute a sudo command at the terminal to install programs, the password that I use doesn´t work.

Is it correct? In this case, the question is: which password do you enter at the sudo prompt?
You need to enter your password, not root password.


Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD

Offline

Board footer

Powered by FluxBB