Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-15-2010, 05:56 AM
|
#1
|
|
LQ Newbie
Registered: Dec 2010
Posts: 11
Rep:
|
Copy users
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.
|
12-15-2010, 06:02 AM
|
#2
|
|
LQ Newbie
Registered: Dec 2010
Location: Germany
Distribution: Debian GNU/Linux, Fedora Project and OpenSUSE LINUX
Posts: 22
Rep:
|
Hi carlosOFF,
I think, your copies are fine - but you also should copy their home-dirs...
After that, if should work.
Greets and good luck
Barry1
|
|
|
|
12-15-2010, 06:16 AM
|
#3
|
|
LQ Newbie
Registered: Dec 2010
Posts: 11
Original Poster
Rep:
|
I forget to say that, i had copy they /home
|
|
|
|
12-15-2010, 06:29 AM
|
#4
|
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Slackware 14.0
Posts: 8,464
|
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.
Kind regards
Last edited by repo; 12-15-2010 at 06:33 AM.
|
|
|
2 members found this post helpful.
|
12-16-2010, 06:46 AM
|
#5
|
|
LQ Newbie
Registered: Dec 2010
Posts: 11
Original Poster
Rep:
|
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?
|
|
|
|
12-16-2010, 08:54 AM
|
#6
|
|
LQ Newbie
Registered: Dec 2010
Location: Germany
Distribution: Debian GNU/Linux, Fedora Project and OpenSUSE LINUX
Posts: 22
Rep:
|
Quote:
Originally Posted by carlosOFF
the -p? is when I copy the passwd... ?
|
No - the "-p" is especially for the /home-dir.
Greets
Barry1
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:45 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|