user managment

The file that saves the group is /etc/group. Since /etc/passwd is a shadowed version of /etc/master.passwd, is only shows "*" in place of the password hashes.

The directories under /home contain the files of users, and /var/mail contains the mail. Information such as groups, passwords, and usernames aren't saved in these directories, but sometimes there's important stuff you might want to backup.
 
dennylin93 said:
The file that saves the group is /etc/group. Since /etc/passwd is a shadowed version of /etc/master.passwd, is only shows "*" in place of the password hashes.

The directories under /home contain the files of users, and /var/mail contains the mail. Information such as groups, passwords, and usernames aren't saved in these directories, but sometimes there's important stuff you might want to backup.

so how can I fully backup my users and than restore?
 
RUMMY said:
so how can I fully backup my users and than restore?

Use dump and restore command to backup /etc, /home, /var etc directory. If you just need those files use tar:
Code:
tar -cvf /path/to/backup.tar /etc/passwd /etc/master.passwd /etc/blah /home/you /home/me /var/mail
To restore use tar again:
Code:
cd /
tar -xvf /path/to/backup.tar
To get only /etc/passwd
Code:
tar -xvf /path/to/backup.tar /etc/passwd /etc/master.passwd  /etc/group
 
I tried but not works, as I see whit that files I cant manage users. so how can I do that?
 
Back
Top