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 09:10 PM
WiKID Strong Authentication System 3.0.12 (PC Token Client branch) iBot Software Releases - RSS News 0 01-22-2008 06:10 PM
WiKID Strong Authentication System 3.0.11 (PC Token Client branch) iBot Software Releases - RSS News 0 01-08-2008 03:20 PM
Script Error token '08' HMS.Chandrasiri Shell Programming and Scripting 4 08-15-2006 06:25 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #8  
Old 05-31-2002
Kelam_Magnus's Avatar
Registered User
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
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.

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

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


IF ALL ELSE FAILS...
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.






__________________
My brain is your brain
Forum Sponsor
  #9  
Old 06-03-2002
solvman's Avatar
Registered User
 

Join Date: Sep 2001
Posts: 67
Unhappy I have tried everything

Hi,

I have tried whatever you told me didnt work , 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.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:32 AM.


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

Content Relevant URLs by vBSEO 3.2.0