Date: Thu, 31 Jan 2008 15:04:19 +0000 From: Kemian Dang <dangkm@gmail.com> To: Sean Murphy <smurphy@calarts.edu> Cc: freebsd-questions@freebsd.org Subject: Re: Password file migration help Message-ID: <47A1E373.7000906@gmail.com> In-Reply-To: <47A0CA04.7060100@calarts.edu> References: <47A0CA04.7060100@calarts.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Sean Murphy 写道: > I have a FreeBSD 5.4 system and would like to migrate users in the > password file with UIDs 3000 through 5000 to a FreeBSD 6.3 system on a > running on a separate box. Is there a way to export just those users? > > Thanks > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" awk -F: '{if($4 > 3000) if($4 < 5000) print $0}' /etc/master.passwd You should do it as root.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47A1E373.7000906>