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
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. Solaris
passwd only changes the password but i need to change the user name
tnx (5 Replies)
Discussion started by: umen
5 Replies
3. Solaris
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
4. UNIX for Dummies Questions & Answers
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
5. UNIX for Dummies Questions & Answers
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
6. UNIX for Dummies Questions & Answers
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
7. Solaris
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
8. Shell Programming and Scripting
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
9. Shell Programming and Scripting
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
10. Linux
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
printpw(8) System Manager's Manual printpw(8)
NAME
printpw - Outputs the contents of the password database
SYNOPSIS
printpw [-acdgsu]
FLAGS
Outputs all information. Use of this flag is the same as specifying all flags with -cdgsu. Outputs username and the comment string. Out-
put username and the login directory. Outputs username and the group ID numerical value. Output username and the login shell. Output
username and the UID numerical value.
DESCRIPTION
The printpw command outputs the contents of the /etc/passwd database file in ASCII format to the standard output. When printpw is called
with no option, all usernames in the database are output.
The /etc/passwd database file is accessed through the standard library function getpwent. On secure systems that have changed this library
function or on systems with Network Information Service (NIS) service installed, printpw produces the same information.
When printpw is called in combination with any flag, one or more additional columns separated with : (colon) is output.
EXAMPLES
To output the username, UID, and login directory of all users in the password database file, enter: /usr/sbin/acct/printpw -ud
FILES
Specifies the command path The password database file.
RELATED INFORMATION
Commands: acct(8) delim off
printpw(8)