backup user accounts

Alexander Skwar listen at alexander.skwar.name
Fri Jul 7 13:06:44 UTC 2006


Olaf Stein schrieb:
> hey everybody
>  
> what is the best way of backing up user accounts:
> is it by simply copying /etc/passwd, group and shadow (if used) or is 
> there another way

What do you want to backup? Just the user/group information (realname, uid, password)?

If so - you're right. It's all in /etc/passwd, group, shadow *and* gshadow.

> would these files then be compatible with other versions of 
> ubuntu/debian or only with the one they were created on

They are compatible.

Alexander Skwar

PS: Please no HTML mails, unless necessary. As you didn't make use of any
HTML feature, I'd say that HTML wasn't necessary.
-- 
Vaterland nennt der Staat immer dann, wenn er sich anschickt, auf
Menschenmord auszugehen.
                 -- Friedrich Dürrenmatt (Romulus der Große)




More information about the ubuntu-users mailing list