The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
WiKID Strong Authentication System 3.0.0 (J2ME Wilreless Cell Phone Token branch) iBot Software Releases - RSS News 0 05-28-2008 06:40 PM
WiKID Strong Authentication System 3.0.14 (PC Token Client branch) iBot Software Releases - RSS News 0 02-04-2008 08:10 PM
WiKID Strong Authentication System 3.0.12 (PC Token Client branch) iBot Software Releases - RSS News 0 01-22-2008 05:10 PM
WiKID Strong Authentication System 3.0.11 (PC Token Client branch) iBot Software Releases - RSS News 0 01-08-2008 02:20 PM
Script Error token '08' HMS.Chandrasiri Shell Programming and Scripting 4 08-15-2006 06:25 AM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-28-2002
solvman's Avatar
Registered User
 

Join Date: Sep 2001
Posts: 67
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.
Forum Sponsor
  #2 (permalink)  
Old 05-28-2002
Kelam_Magnus's Avatar
Unix does a body good.
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
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.
__________________
My brain is your brain
  #3 (permalink)  
Old 05-28-2002
solvman's Avatar
Registered User
 

Join Date: Sep 2001
Posts: 67
[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 (permalink)  
Old 05-28-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
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 (permalink)  
Old 05-30-2002
solvman's Avatar
Registered User
 

Join Date: Sep 2001
Posts: 67
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 (permalink)  
Old 05-30-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
Hmm...

Try running /usr/sbin/pwck

It will check the integrity of your passwd and shadow files.
  #7 (permalink)  
Old 05-31-2002
solvman's Avatar
Registered User
 

Join Date: Sep 2001
Posts: 67
Hi,

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

Thank you all
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:01 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0