![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
||||
|
||||
|
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
|
||||
|
||||
|
Hi,
I have tried whatever you told me didnt work 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 |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|