On Thu, 2003-10-16 at 12:33, Bob Crandell wrote: > Hi, > > I'm trying to rescue a guy's server. It has a couple of hundred accounts on it. I > ran this script from kbob: > (cd ${SOURCE}; /bin/tar cvf - .) | (cd ${DESTIN}; /bin/tar xvfp -) >
Okay. > It isn't keeping the ownership of the source. Because /etc/passwd on the machine you are restoring to and /etc/passwd on the old machine does not match, correct? One solution is to simply copy /etc/passwd from the archive to the new server. The "system" ID's will be pretty much the same. The critical ones (root,bin) will be the same. Alternatively get /etc/passwd from the archive and 'diff' the two: diff /etc/passwd /tmp/passwd_from_old_server This may give you a starting point. -Cooper -- -------------------------------------------------------------- | Cooper Stevenson | Em: [EMAIL PROTECTED] | | General Computer | Ph: 541.924.9434 | | "Open For Business" | Www: http://www.gencom.us | -------------------------------------------------------------- _______________________________________________ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug