
May 29th, 2003, 01:55 PM
|
 |
IT Dept Scapegoat
|
|
Join Date: Nov 2002
Posts: 169
Time spent in forums: 1 h 54 m 43 sec
Reputation Power: 6
|
|
|
adduser script
OKay, I'm having a moment of dysfunction. I have an old RH7.2 system that I want to replace with RH9. To transfer the users, I did
Code:
cat /etc/passwd | grep -F ":12:" > ~/passwd
to get just the users in the mail group. Simple.
Then I scp'd the file to the new box, and did a find/replace to change the password ":x:" to ":password:". Simple again.
Now what I want to do is feed this file to a command, but for the life of me, I can't remember what the command is. I just did this two weeks ago!!!
If anyone can remember that would help me a lot.
__________________
Thanks,
CF
|