unable to change the root password?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users unable to change the root password?
# 1  
Old 08-18-2010
MySQL unable to change the root password?

I tried to change the root password. but it shows the following error.
Code:
passwd: Authentication token manipulation error
passwd: password unchanged

If I login as a normal user that time I'm able to change my (user) password.
If I login as a ROOT then I'm not able to change the password root password.
How to solve this problem.
# 2  
Old 08-18-2010
Hi,
Is this a standalone system or bound to a NIS server ?

-Raja
# 3  
Old 08-18-2010
NIS server.
# 4  
Old 08-18-2010
If its NIS, and if you need to change the root password at NIS, you should use
Code:
yppasswd root

However you can also make your system's root password refer to your local passwd entry and rest of the user's login to refer NIS. To do this you need to unbind from NIS (stop ypbind), change root passwd using
Code:
passwd root

-Raja
# 5  
Old 08-18-2010
sorry.. rajamadhavan
the yppasswd command is not found.
i'm using Ubuntu OS...
for standalone system how to solve this problem?

Last edited by ungalnanban; 08-18-2010 at 07:05 AM..
# 6  
Old 08-19-2010
at my Red Hat Enterprise Linux Server 5.2 it is /usr/bin/yppasswd
# 7  
Old 08-21-2010
* did you any update last success passwd ?

* did you check permission /etc/passwd and /etc/shadow

* is there you any change entries in /etc/pam.d/common_password ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Can a root role change the root password in Solaris 10?

i do not have root on a solairs 10 server , however i do have the root role, i was wondering if I can change the root password as a a role with the passwd command? I have not tried yet. and do i have to use the # chgkey -p afterwards? i need to patch is why i am asking. thanks (1 Reply)
Discussion started by: goya
1 Replies

2. UNIX for Dummies Questions & Answers

Unable to change password using root user

Hi, I tired changing password for mqm user in linux server with root user. But still I couldn't able to login mqm user with changed password. Can anyone please help on this. # passwd mqm Thanks, Anusha (4 Replies)
Discussion started by: Anusha M
4 Replies

3. Ubuntu

Root access that can't change root password?

We are having a little problem on a server. We want that some users should be able to do e.g. sudo and become root, but with the restriction that the user can't change root password. That is, a guarantee that we still can login to that server and become root no matter of what the other users will... (2 Replies)
Discussion started by: 244an
2 Replies

4. HP-UX

Unable to change password

I need to change password of a non-root user on HPUX. Due to some local policy, it is not allowing me to do so. I need to keep same (previous) password, as that is application user. Can I bypass policy for this time, for this user somehow ? I am root on this machine. # uname -a HP-UX thprnv02... (3 Replies)
Discussion started by: solaris_1977
3 Replies

5. Solaris

Solaris 8 - Asks for current root password when trying to change root password.

Hello All, I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password... (8 Replies)
Discussion started by: tferrazz
8 Replies

6. Shell Programming and Scripting

how to change root password using shell script with standard password

Hi Friends. I am new to scripting now i want to change the root password using the script with standard password. which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Discussion started by: kurva
2 Replies

7. HP-UX

Unable to change root password

Hi, Some how my root password expired for my hp_ux 10.20 machine and when i tried to change the password it displays file system full error how to resolve this issue At first it accepts newpassword and while saving it some where the problem is..... I am logging as root ........ ... (4 Replies)
Discussion started by: jagan_kalluri
4 Replies

8. Solaris

Root Password change

Hi All, I would like to find out when the root password changed last time..! :p Please guys help me Out (2 Replies)
Discussion started by: bullz26
2 Replies

9. SCO

unable to change password

I have forgotten password of the system.I am having SCO Unixware 2.1.2.I am trying to change the password of the system by booting it with boot floopy.I edited the shadow file and made the password field blank.But I am not able to login.When I try to change the password of root or any id using... (1 Reply)
Discussion started by: girish_shukla
1 Replies

10. HP-UX

How to change root password on HP UX

Hello, I try to make a change on the root password on HP UX. I use sam but it didn't work here. I try to login as root but I failed however, I login to my name and then change to su and su password then it is o.k There is not much different from root and su but how do we use root? Thanks so... (4 Replies)
Discussion started by: mle06
4 Replies
Login or Register to Ask a Question