Change password - User does not exist


 
Thread Tools Search this Thread
Operating Systems Solaris Change password - User does not exist
# 1  
Old 10-20-2003
Network Change password - User does not exist

When trying to change the password with the command "passwd" it returns that the user does not exist.

passwd <USER>
passwd: changing password for <USER>
passwd: <USER> does not exist

This is a Solaris 2.5.1 system.
# 2  
Old 10-20-2003
try

passwd username

if it is still returning users does not exits, check the /etc/passwd and make sure that user really exits

Note
username is the username of the person you intend to change the password for
# 3  
Old 10-21-2003
Error

The username does exist. The problem happens when the user logs in and try to change its password through the command passwd.

Here is a better description of what happens :

% passwd username
passwd: changing password for username
passwd: username does not exist
# 4  
Old 10-21-2003
What do you get from:

grep passwd /etc/nsswitch.conf
# 5  
Old 10-21-2003
I get :

% grep passwd /etc/nsswitch.conf
passwd: files

Additional information : The password is changed normally if the "passwd" command is run by root (through "su root" or "su root --". It is confirmed that the problem occurs when "passwd" command is run by the user itself. It also occurs to all users of the system, even after the user is created via admintool.
# 6  
Old 10-21-2003
i dont know why but i had this issue befor also.

just supply the username you want to change the passwd with. even if it is the current user.

never bothered to dig any deeper into it.
# 7  
Old 10-21-2003
ryamada, the permissions on your copy of passwd (the program, not the data file) are wrong. To fix it, do the following as root:
cd /usr/bin
chown root:sys passwd
chmod 6555 passwd
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Not able to change user password

hi I am not able to change user password from root user. although it is saying updated successfully. but still I am not able to login direct to abc user. however I can login from root user by using su - abc # passwd abc Changing password for user abc. New password: BAD PASSWORD: it... (2 Replies)
Discussion started by: scriptor
2 Replies

2. Shell Programming and Scripting

How to change LPad user password?

Hi Gurus, I am lpad user in some of my server. I need to change password at certain period time. I am wondering what is the command to change the passwd. last time I asked my unix admin, they gave me a comand I chagned it. (I forgot to keep it in safe place, I lost it). this time when... (2 Replies)
Discussion started by: ken6503
2 Replies

3. Shell Programming and Scripting

Oracle DB user password change

Hi Experts, I am trying to write a shell script to change DB user password. Requirement: login to multiple DBs as multiple users and change their respective passwords. ex :users:T1,T2,T3 DB:X,Y,Z scenario: login as T1 to X,Y,Z change password login as T2 to X,Y,Z change password ... (2 Replies)
Discussion started by: navsan420
2 Replies

4. Solaris

Unable to change password for a user.

I am getting the following error message "passwd: User unknown: username" Permission denied error message when trying to change the password for that given user account. The user account is within the /etc/passwd file and I can also su to the account without any problems. This is sever is not... (11 Replies)
Discussion started by: eckmanb
11 Replies

5. UNIX for Dummies Questions & Answers

Unable To Change a User's Password

I am trying to change a user's Password, but I get the error "Password Cannot be changed; see account Administrator". Yet I am logged in as root. I also cannot access the Accounts Manager facility when SCO when using System Administration screen Error "Unable to get initial list of users" (2 Replies)
Discussion started by: Waitstejo
2 Replies

6. UNIX for Dummies Questions & Answers

Using Crontab To Change User Password

Hi! I'm a bit noob on Unix/Linux world, so sorry any lame question i may make... Oh.. and my english too.. is not so famous lol.. The deal is to use crontab to change my admin password every weak to something like "mypasswordcurrrentday" that is... i want evey weak to change my password but... (2 Replies)
Discussion started by: OdinPT
2 Replies

7. UNIX for Dummies Questions & Answers

Can an FTP user change their own password?

If we set up FTP only users who can't log in with a shell (/bin/false type of shell) and set them up with a default password, like abc123 or something not secure, is there any way for the user to change their own password once they get on the system? (2 Replies)
Discussion started by: LordJezo
2 Replies

8. Solaris

User password change trace

In Sun Solaris we have given oracle user for dba that was shared among 5 member. Everytime oracle user password was changed themselves. We want to trace who has changed the password. It is possible. Regards P Manivannan (0 Replies)
Discussion started by: pmsuper
0 Replies

9. Solaris

how can I change user name and password , of account ?

passwd only changes the password but i need to change the user name tnx (5 Replies)
Discussion started by: umen
5 Replies

10. UNIX for Dummies Questions & Answers

Can't change password for a user

All, I am unable to change a password for the user called : poller I am logged in as root When I do the following command passwd poller New Password: Permission denied Whe i enter the new password, it gives the above error. When i log in as poller and then execute the command, then... (2 Replies)
Discussion started by: rahulrathod
2 Replies
Login or Register to Ask a Question