Sponsored Content
Top Forums UNIX for Advanced & Expert Users Authentication token error?!?! Post 22133 by solvman on Tuesday 28th of May 2002 05:48:01 PM
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
 

We Also Found This Discussion For You

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
pwconv(8)						      System Manager's Manual							 pwconv(8)

NAME
pwconv - convert to shadow account SYNOPSIS
pwconv [-P path] DESCRIPTION
pwconv installs and updates /etc/shadow with information from /etc/passwd. It relies on the special password 'x' in the password field of the account. This value indicates that the password for the user is already in /etc/shadow and should not be modified. If /etc/shadow does not exist, pwconv creates this file, moves the user password to it and creates default aging informations with the help of the values of PASS_MIN_DAYS, PASS_MAX_DAYS and PASS_WARN_AGE from /etc/login.defs. The password field in /etc/passwd is replaced with the special character 'x'. If the /etc/shadow does exist, entries that are in the /etc/passwd file and not in the /etc/shadow file are added to the /etc/shadow file. Accounts, which only exist in /etc/passwd, are added to /etc/shadow. Entries that are in /etc/shadow and not in /etc/passwd are removed from /etc/shadow. All passwords from /etc/passwd are moved to /etc/shadow and replaced with the special character 'x'. pwconv can be used for initial conversion and for updates later. OPTIONS
-P, --path path The passwd and shadow files are located below the specified directory path. pwconv will use this files, not /etc/passwd and /etc/shadow. FILES
passwd - user account information shadow - shadow user account information SEE ALSO
passwd(1), login.defs(5), passwd(5), shadow(5), pwck(8), pwunconv(8) AUTHOR
Thorsten Kukuk <kukuk@suse.de> pwdutils January 2004 pwconv(8)
All times are GMT -4. The time now is 09:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy