sudo passwd doesn’t change password

4 réponses [Dernière contribution]
Takumi13
Hors ligne
A rejoint: 07/03/2016

A big hello to all the steaming forum!
The problem is that I mention in this post title.
Curious thing is that I had changed before - and I have that habit too - password successfully with this very same command.
All the operation goes without error (see atachment), but still I cannot use the new one!
I restart the computer and it still doesn't accept the new password, only the old one. I know is a soundly password, easily remembered (for me), but don't need to keep with that ad eternum, I think (it's an irony!).
In another computer with mint installed I do this operation and the password instantly change and I can use it in a second.

Anybody knows what is the cause of this problem? And the resolution if you are so kind...

Many many thanks in advance to all the Forum, and I hope all are doing right!
Hugs

Pièce jointeTaille
passwdUnchanged.png215.64 Ko
passerror.png194.39 Ko
onpon4
Hors ligne
A rejoint: 05/30/2012

That command sets a password for root, not for your user account. If you want to change the password as a user other than root, you need to specify the username. In your case, "passwd brutal08". Or you could just do it from the System Settings menu; why are you trying to do it from the command-line?

Takumi13
Hors ligne
A rejoint: 07/03/2016

My completely fault I didn't mention the user which was what I wanted and used to do.
The fault is mine. Many thanks onpon4!
Answer to your question: why are you trying to do it from the command-line?
It's easy to answer that: I use very often the command line, it's more practical, is more fast is more "power-user". Why I would go opening windows till de System Setting menu if I can do that in the command line so much more fast/practical/geeky??? Common...
Many thanks anyway onpon4.
hugs

lembas
Hors ligne
A rejoint: 05/13/2010

Whenever some command fails to perform, read its manual page. E.g.man passwd

Takumi13
Hors ligne
A rejoint: 07/03/2016

Thanks is indeed a good point. Some times one tend to forget that the man pages are there for a reason. Many thanks. All the best for you and all the forum.