Authentication token error?!?!

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Authentication token error?!?!
# 8  
Old 05-31-2002
You will probably need to script using a for loop and awk to get the format of the /etc/shadow file correct.

1) awk -F: ' { print $1 }' < /etc/passwd > user.ids

Depending on the layout, you may need addl data from the passwd file to properly create the shadow file.

for name in 'cat user.ids'
awk '{ print $name "put your shadow format here" }' >> shadow.out

Something like this may solve your problem. Just make sure that you can duplicate the format of the /etc/shadow file.

You may need to go to the RedHat site and search for conversion from an OS without a shadow file to an OS version with /etc/shadow implemented.

Smilie Smilie
# 9  
Old 06-03-2002
Data I have tried everything


I have tried whatever you told me didnt work Smilie, and searched internet for the whole weekend. NOTHING.

I was playing with pwconv and pwunconv...a strange thing happened. I have changed permitions on /etd/passwd to 755 and removed /etc/shadow. Now i'm able to run pwunconv. It takes like a couple of seconds, but it wouldnt create any /etc/shadow or smth like that. ????

I appreciate your help, guys.
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

crond: Authentication token is no longer valid; new one required.

Hi can any one please help me with this there are some cron jobs running on one of production servers i noticed the jobs are not running for long time, when i checked the logs i founf this message, information form the server # chage -l root Minimum: 0 Maximum: 99999... (2 Replies)
Discussion started by: robo
2 Replies
Login or Register to Ask a Question