I am unable to change my password even in root (recovery mode), or to unlock it. I can still access my account, but without password protection.
I am unable to change my password even in root (recovery mode), or to unlock it. I can still access my account, but without password protection.
I forgot my Ubuntu password so I booted into recovery and dropped into a root shell prompt and this is what happened:
root@username-PC:~# passwd username
Enter new UNIX password:
Retype new UNIX password:
passwd: Authentication token manipulation error
passwd: password unchanged
I had tried method in recovery mode.
passwd myusername
then getting new password
I typed the new password twice
passwd:Manipulation Token Authentication Error
passwd:password unchanged
Please help me change my password.
I'm currently fascinated by strace so, being new to it, I decided to play around a little. As suggested by the question title, I tried both strace su and strace ssh. Both commands displayed the password I typed in the strace output. su kept complaining of an incorrect password while ssh managed to log in normally.
My questions:
Is this a security flaw or am I missing something?
I am user xyz on redhat linux VM abc.
I cannot change password.
abc:/home/xyz>passwd
Changing password for user xyz.
Changing password for xyz
(current) UNIX password:
Password changes on the command line are not supported.
strace is a debugging command in Linux to monitor the system calls used by a program and all the signals it receives, similar to truss command in other Unix systems. The most common usage is to start a program using strace, which prints a list of system calls made by the program.
Published at LXer:
Having trouble figuring out why Apache isn't starting, or another program is crashing and burning, and the logfiles are giving no clue? Time to reach for strace. What's strace? The strace utility is used to run a command and display its system calls, so you can see exactly what the program is doing until it exits.
I'm trying to run strace trough ccze, and the pipe doesn't work as expected.
The command-line I'm running to test is sudo strace -p $(pgrep apache2) | grep open, and all lines are output, ignoring grep.
Is there something special about strace that causes this behavior?