Gentoo Archives: gentoo-server

From: Marcus Hallberg <marcus@××××××.se>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Can I move /etc/passwd to new server?
Date: Thu, 27 Apr 2006 15:45:49
Message-Id: 4450E69A.6080401@wimlet.se
In Reply to: [gentoo-server] Can I move /etc/passwd to new server? by Karl Zander
1 Hi Karl!
2
3 Just copy the relevant lines from /etc/passwd /etc/group /etc/shadow and
4 merge into the files on the new server.
5
6 You should be able to move relevant lines from
7 /var/lib/samba/private/smbpasswd to.
8
9 /marcus
10
11 /Marcus Hallberg
12 Wimlet Consulting AB
13 Djurgårdsgatan 10
14 414 62 Göteborg
15 mobil: 0707-141716
16 e-post: marcus@××××××.se
17 hemsida: www.wimlet.se
18
19
20
21 Karl Zander wrote:
22
23 >
24 > I have to move my SAMBA PDC to new hardware. SAMBA uses /etc/passwd
25 > along with its own user database.
26 >
27 > Can I copy /etc/passwd from the old server to the new or do I have to
28 > create a new /etc/passwd matching the user info? I believe I need to
29 > move /etc/group and /etc/shadow too. Is there such a thing and a
30 > shadow group?
31 >
32 > What about root on the new server? Will it have problems if a new
33 > /etc/passwd is dropped in on it?
34 >
35 > --Karl
36
37 --
38 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] Can I move /etc/passwd to new server? Karl Zander <gentoolist@××××××××××××.com>