Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
It's possible to copy the users to one computer to another?
I've tried to copy the /etc/passwd , /etc/shadow and /etc/groups but when arrives in the login screen it's like it can't open the screen and try again and again...
thank's
Carlos
Click here to see the post LQ members have rated as the most helpful post in this thread.
You need to use the -p option, in order to preserve the permissions.
However, you could tar the /home directory, and then untar it at the destination computer.
So I can copy the files /etc/passwd , /etc/shadow and /etc/group and /etc/passwd- , /etc/shadow- and /etc/group-
and the home directorys?
the -p? is when I copy the passwd... ?
I have one question, how, it will mantain the permission if in the new computer the isn't the users?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.