Gordon- So simple it makes me sick! I am going to try it out, thank you!
-Scott At 12:55 PM 9/4/2002 -0700, Gordon Messmer wrote: >On Wed, 2002-09-04 at 12:49, Scott wrote: > > I am in the middle of moving users from a BSDI (FreeBSD) machine to a > > new Red Hat 7.3 server that will serve as a Postfix box. > > > > I have a script to parse the FreeBSD passwd file and convert it to Linux > > compatible > > passwd and shdow files, but I am looking for a way to take those user > names and > > create their home directories and then set permissions. Any thoughts? > >After you convert the password files: > >grep /home/ /etc/passwd | awk -F: '{ print $3 " " $4 " " $6; }' \ > | while read pwuid pwgid pwhome ; do > [ -d $pwhome ] || ( mkdir $pwhome && chown $pwuid:$pwgid $pwhome ) > done > > > > > >-- >redhat-list mailing list >unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe >https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list