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.
As part of trying to implement a security measure in my root ssh session, I'm trying to devise a method of starting a script after n seconds of root user login, and change the user password and logout the user automatically.
I'm getting stuck at trying to change the password silently.
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.
hi all,
i am trying to change the password of a user as the same is used in
various deployment scripts but when chnaging the passowrd to desired one by root user i am getting as below
Code:
Changing password for user tcms.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
it is showing as al
After upgrading the os from 5300-06 to 5300-11, this weird behaviour happened.
My system had another unix account, let's call it "abc", purposely configured its uid to 0 for working as a root with all its authorities.
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 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.
Bit of an odd problem. I've got a server I can SSH into as one of two logins: root or erik. Once I've logged in as erik I've tried to switch to the root user:
# sudo su - root
Password:
And entered the password. After several failures I thought I might have forgotten.
While studying "Learning the Shell"
As I try terminal entries, I GET 'Permission Denied". Then
I try "su" to become the root user. When I use the password
that I entered as I installed Ubuntu 11.04, I get Authentication
failure.