Authentication token error?!?!


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Authentication token error?!?!
# 1  
Old 05-28-2002
Authentication token error?!?!

Hi all,

I have upgraded my old RedHat 6.2 box to RedHat 7.3. I had couple hundreds of users on that box so i just migrated all the user account to a new box by transfering home directories, and appending to /etc/passwd /etc/shadow /etc/group. I have preserved all permittions. Everything works just fine. Users are able to log in. As soon as i try to change user password the following thing happens:

[root@localhost root]# passwd myuser
Changing password for user myuser.
passwd: Authentication token manipulation error
[root@localhost root]#

Any suggestions how i can fix it?

Thank you all in advace.
# 2  
Old 05-28-2002
That is quite a jump in OS versions.

I have seen problems with other versions of Unix, Amdahl, where they don't like importing another /etc/passwd file from an older version of the OS. We recently did an upgrade and had similar problems, but much worse than yours. Users weren't able to login.

My experience is that it is some internal error. We had to rebuild the passwd files on each of 8 or so servers.

Couple of questions. Did you use /etc/shadow before? How did you append? Simply by ftp or rcp and >> passwd?

here is something I found on HP's website www.itrc.hp.com

http://docs.hp.com/cgi-bin/fsearch/f...0020528-132922

You may have something different but similar to this. Hope it helps you out. Look at the return values down the page. You will see your exact error message.
Smilie
# 3  
Old 05-28-2002
[QUOTE]Originally posted by Kelam_Magnus
[B]That is quite a jump in OS versions.


Couple of questions. Did you use /etc/shadow before? How did you append? Simply by ftp or rcp and >> passwd?

i have connected and old harddrive physically, and mounted it. Then just appended like "cat old_passwd >> /etc/passwd" Then i removed duplicated accounts by hand. Then i copied /etc/passwd to /etc/shadow...Coz 6.2 didnt have shadowing back then. I guess i need to convert it somehow. Any suggestions?

Thank you so much
# 4  
Old 05-29-2002
Check the man page for "pwconv".

The shadow file has a different layout than the passwd file.
If you mv the /etc/shadow file to something like /etc/shadow_nogood (just in case you want it back later), make sure the passwd file is set up, and use pwconv to "switch" over to a shadowed setup.

Just in case, keep a boot disk handy next time you reboot, although you shouldn't really need it.
# 5  
Old 05-30-2002
I have tried that, didnt help

HI all

I have tried pwconv and pwunconv...it didnt work. It would keep on running for internity i guess. I have left it for 2 days...didnt get any results. Any suggestions?

Thank you all.
# 6  
Old 05-31-2002
Hmm...

Try running /usr/sbin/pwck

It will check the integrity of your passwd and shadow files.
# 7  
Old 05-31-2002
Hi,

I have run pwck. It gives me an error in every entry saying "invalid entry". What do i do next?

Thank you all
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