You are not logged in.

#1 2023-10-20 00:24

Nerone
Member
Registered: 2023-10-19
Posts: 10

Password Trouble

Just installed Q4OS on my old Compaq Presario laptop, everything almost OK but...
During installation I have been asked only for setting a password, (not a user name) which I did.
The clock is showing wrong time and I'll like to correct it, it ask me for the password in order to do that, I type the password and doesn't work.
While I try to figure out why the laptop has been blocked (inactivity) and ask for the password....again I type the password and doesn't work.
If I start a new session the password works but it doesn't if I try to reset the clock or free the block (and likely for any thing else).
Never asked me for a user name, for a new session the user name is "Admin Q4OS" (it was already there, I didn't see any option in order to change it), for resetting the clock or free the block it seems to be "adminq default :  (numbers changing with each session)".
I suppose I should try my password with the user name  "Admin Q4OS" instead of what it shows ("adminq") but I can't figure out how to do that, I mean changing the user name.
I am the only one using the laptop, actually I don't want to have to type a password every time I start or when the session is suspended, I simply don't need it, I understand I have to type my password when I do make changes and that is OK...but why it changes the user name and doesn't recognize my password?
Thank in advance for any help (please idiot proof instructions)

Offline

#2 2023-10-20 05:18

Nerone
Member
Registered: 2023-10-19
Posts: 10

Re: Password Trouble

I did play a bit around it...
In short my password, the one it asked me to set during installation, works only at starting the system and at starting a new session, everywhere else doesn't work, when this windows opens there is nothing I can do:
TdeSudo
tdecmshell needs administrative privileges.
Please enter your password for verification.

Offline

#3 2023-10-20 07:36

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

Re: Password Trouble

Can you type the following commands in a terminal:

$ cat /etc/passwd | grep /home

What is its result?
Do you recognize your username in the list? Which one is it?

Then, for each <username> (first entry in each line), enter the following command and post the result:

$ groups <username>

[Edit]

Notes
- to enter into a terminal, look for "terminal " or "console" in the application launcher ("start menu" in another OS)
- don't type the '$', its is just the prompt indicating you can type a command;
- terminate each command by hitting the Enter key.

Last edited by hchiper (2023-10-20 07:57)


Q4OS machines: [Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD] & [Sony Vaio - Pentium P6000 1.87 GHz - 8 GB RAM - 500 GB SSD]

Offline

#4 2023-10-20 08:18

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

Re: Password Trouble

In addition to @hchiper suggestions, what keyboard layout are you using ?

Offline

#5 2023-10-20 19:08

Nerone
Member
Registered: 2023-10-19
Posts: 10

Re: Password Trouble

The keyboard is an Italian layout, actually I don't remember having been asked for the layout during installation (Linux Mint does), only my preferred language, but I may not remember correctly.

adminq@q4os-desktop:~$ cat /etc/passwd | grep /home
adminq:x:1000:1000:Admin Q4OS,,,:/home/adminq:/bin/bash
adminq@q4os-desktop:~$ groups adminq
adminq : adminq adm cdrom floppy sudo audio dip video plugdev users systemd-journal lpadmin bluetooth netdev scanner vboxsf

When I start the computer or a new session it shows me a window with user name (adminq) and the space for the password (and it works), in all other instances it shows me the TdeSudo window which has only the space for the password (there is no user name or space for it) and doesn't work.

Offline

#6 2023-10-20 19:46

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

Re: Password Trouble

Does your password contain some non-latin characters ?

Offline

#7 2023-10-20 20:08

Nerone
Member
Registered: 2023-10-19
Posts: 10

Re: Password Trouble

It contains @ and 1, other characters are all latin

Offline

#8 2023-10-20 20:11

Nerone
Member
Registered: 2023-10-19
Posts: 10

Re: Password Trouble

There is also a 0, therefore 2 numbers (1 and 0) and @

Offline

#9 2023-10-20 21:04

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

Re: Password Trouble

Well, run command in terminal:
$ passwd
change password to contain latin letters only. Numbers are allowed too, but omit "@". Post back the result.

Offline

#10 2023-10-20 21:36

Nerone
Member
Registered: 2023-10-19
Posts: 10

Re: Password Trouble

OK, I run the command, it tells me (it speaks Italian therefore I am translating for you, maybe not the exact words you are used to): 
change password for adminq
actual password:

But I can't write anything..., I mean the terminal just doesn't type

Offline

#11 2023-10-20 21:39

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

Re: Password Trouble

Nerone wrote:

But I can't write anything..., I mean the terminal just doesn't type

When you type your password, terminal doesn't echo back, but it receives letters you type.

Offline

#12 2023-10-20 21:42

Nerone
Member
Registered: 2023-10-19
Posts: 10

Re: Password Trouble

I don't know the difference between Konsole and Shell, they both look the same to me as a Terminal...anyway I tried both and both don't type

Offline

#13 2023-10-20 21:46

Nerone
Member
Registered: 2023-10-19
Posts: 10

Re: Password Trouble

OK, done, it tells me:
psswd: error manipulating authentication token (my translation)
psswd: password unchanged

Offline

#14 2023-10-20 22:51

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

Re: Password Trouble

Unfortunately, we are not able to reproduce this issue, so we cannot effectively investigate. It could be even a failing hardware - bad blocks on harddisk and thus data inconsistency, as described here https://www.tutorialspoint.com/how-to-f … r-in-linux

Offline

#15 2023-10-20 23:45

Nerone
Member
Registered: 2023-10-19
Posts: 10

Re: Password Trouble

Thanks for your help!

INow that I know the issue is the @ character in the password and since I do have another mind breaking issue in the Kicker panel I tampered with (a few icons have disappeared and minimized windows don't show anymore, impossible to retrieve them, process are still alive but disappeared from sight) the best thing to do is a new installation of the OS, it is anyway a fresh installation therefore not much in it that is worth saving.

At least I have gained a bit more confidence with the OS which is quite different from Mint ...playing around and messing up things is always instructive.

I am glad to acknowledge here I can find fast and top notch support, apart from the issue the lap top seems to work fast and well with this OS and I am very happy being able to use it again in despite of its age, therefore I give Q4OS a thumb up, proceed with a new installation and report here how it goes (touching wood with a new password everything should be just fine).

Offline

#16 2023-10-21 10:56

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

Re: Password Trouble

Nerone wrote:

OK, done, it tells me:
psswd: error manipulating authentication token (my translation)
psswd: password unchanged

Did anyone else notice this issue ?

@Nerone
Anyway thanks for reporting.

Offline

#17 2023-10-21 12:40

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

Re: Password Trouble

I tried

sudo passwd <some_user>

and I aborted the command with Ctrl+D. I got

Le changement de mot de passe a été annulé.
passwd: Erreur de manipulation du jeton d’authentification
passwd: password unchanged

@ Nerone:
Before reinstalling, it could be interesting to know if the following works to change the password:

$ sudo passwd adminq

Does sudo work (needs old password)? Then is a new password set successfully?

Edit

And if the problem comes from the desktop environment, maybe you could switch to a pure command line:
- hit Alt+Ctrl+F2
- enter your login (adminq)
- enter your old password
- once you are logged in, change your password: $ passwd
- once it has been changed, logout by typing $ exit
- go back to the desktop environment: Alt+Ctrl+F7
- terminate your session reopen a session with your new password

Last edited by hchiper (2023-10-21 12:54)


Q4OS machines: [Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD] & [Sony Vaio - Pentium P6000 1.87 GHz - 8 GB RAM - 500 GB SSD]

Offline

#18 2023-10-22 05:25

Nerone
Member
Registered: 2023-10-19
Posts: 10

Re: Password Trouble

Thanks Hchiper but I have already made a new installation from the same DVD, it was still on the desk near the laptop...temptation has been too strong,  now, with a new password that doesn't contain the @ character anymore I have no issues whatsoever, definitely the problem was the @ character in the password.

It would have been interesting to find a way around in order to change the password without having to reinstall the OS and very likely it is possible with the help of you guys, but in this case it has been just so much easier as I did...at least now we know.

Thanks again for the great help guys!

Offline

Board footer

Powered by FluxBB