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!

Restoring etc 1

Status
Not open for further replies.

call

Technical User
Oct 31, 2000
127
US
I have a mirror OS 5.3 Can I restore the etc/security file or can I just restore the whole etc file. im trying to fix a passwd problem but I dont know if its just the passwd file that causing the problem. I think the etc file system is crouped.

Or would it be best to just restore the passwd file first.
If I restore the whole etc file would that restore everthing including the passwd file.

Also after I do that do I reorg the mirror drive.

I hope this makes sense

thanks you
 
There are a few apars for 5.3 password problems.
What is your problem description?
What is your ML / TL / SP
Try not to ask for an answer, try telling us what your problem is and what you have done so far to investigate or fix the problem.
Then we can better advise you on how to proceed.
 
When I go to deleted a user or change a passwd I get this

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.

Im on a stand alone server (im not useing NIS)

thanks
 
I've seen stuff like this when somewhere there's an invalid character in /etc/passwd.

Just browse through it and see if there's something out of the ordinary.


HTH,

p5wizard
 
view the /etc/passwd link for related files!


Though it is a minor possibility, I would suggest if you check the /etc/security/passwd as well for typos

Do you use shadow files?/etc/shadow?

I never tried to corrupt the /etc/security/passwd and try to create a user but i thought of pointing it as a possibility

Regards,
Khalid
 
Thanks for all the help,

I ended up doing
usrch -n All
then usrch -y ALL
then grpch -n ALL
then grpch -y ALL
then pwdch -n ALL
then pwdch -y ALL

after running these command it cleaned up the passwd file its now working.

Again thanks for all the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top