[CLUE-Talk] user accounts
Lynn Danielson
Lynn.Danielson at clue.denver.co.us
Mon Nov 20 08:41:10 MST 2000
Jeremiah Stanley wrote:
>
> What is the best way to move user accounts (email/shell) to another
> machine? I am assuming that I can tar up their directories but how do I
> preserve their permissions, is that a switch in the tar command?
There is a preserve permissions switch for GNU tar:
-p, --same-permission, --preserve-permissions
If you don't want to bother with using the "chown -R" command on the
moved directories, you'll also want the users to have the same uid/gid
as on the old machine.
Lynn D.
More information about the clue-talk
mailing list