Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passwd file problem

Status
Not open for further replies.

call

Technical User
Oct 31, 2000
127
US
[compat]: 3004-610 You are required to change your password.
Please choose a new one.

I change it and the next time I log on it ask the same question.

I think the pawwd file is corrupted if it is how can I fix it.
 
It sounds like either one of 2 things:
you are changing your passwd on an SP node when you should be changing it on the CWS (Control work Station)
Usually, once an hour the CSW copes password file down to the nodes, so if you changed on the node and not the CWS it would behave like you said.(you might see the same behavior on a cluster)

Or you are changing you passwd on a NIS slave when it should be done on the NIS master.

OR you have a co-worker who is changing the flag feild in /etc/security/passwd and adding ADMCHG

Oh Also you might look in roots crontabs someone could have set up a script to ftp /etc/passwd and /etc/security/passwd from 1 AIX server down to many

Hope that this helps
 
long shot but I had the same thing the other day.

A N Other had edited /etc/security/user manually and left a non numric char in a field.

histsize = x20

changed to

histsize = 20

might be worth checking.


Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
im not running on sp node its a stand alone machine
Pseries 520 4 way server

-rw-r--r-- 1 root security 3843 Feb 16 07:36 passwd


nightman:!:0:0::/home/nightman:/usr/bin/smit mksysb



don:*:291:1::/home/don:/usr/bin/ksh
back15:*:292:1::/home/back15:/usr/bin/ksh

now nightman was going to be where they can just logon and do the mksysb the problem is it keeps asking to redo the password.

Now when I made a new user here is what happen.

# mkuser nate
# passwd nate
Changing password for "nate"
nate's New password:
Enter the new password again:
3004-622 An error occurred updating the password database.
3004-709 Error changing password for "nate" : Value is invalid.

something is wrong here also when i go into smit to deleted a user it wont let me I get an error there.

Could used some help please. also if you look at my passwd file its creating the person like 4 line down and not the next line.


 
Is this really the only AIX server on your network?
You aresure you are not using NIS?

ok, sounds like you have a problem in one of the user files

make a tar back-up of /etc and drop the file someplace like /tmp

then run as root
usrck -n ALL
If this finds errors that you want to fix run
usrck -y ALL





 
Look at the password file /etc/passwd, I'll bet there's an invalid character somewhere.



HTH,

p5wizard
 
why don't you restore the /etc/passwd file from previous backup and then try it?
 
A google for
site:ibm.com 3004-622 3004-709
suggests that either NIS is the issue, or you have found a bug, in which case call IBM.
 
I'd try giving nightman /usr/bin/ksh as shell and put the smitty mksysb in the user's .profile like so:

---begin-of-nightman's-.profile---
...
(keep whatever's in there)
(add the following 3 lines)
trap '' 2 3 15
/usr/bin/smitty mksysb
exit
----end-of-file


HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top