On Thu, Jun 30, 2005 at 04:38:11AM -0500, jess enerio wrote:
> Guys, wats the best way to migrate an old linux box to a new one
> without re-creating the users/password? Pwede bang just scp -p the
> passwd/ghadow/smbpasswd to a newly installed pc?
> 
> The accounts ksi are owned by remote users & passwords are not
> documented.

Assuming you're using standard Unix authentication, then yes, just
transfer the files over and you should be good to go. The most common
files you'll need to transfer are:

    - /etc/passwd
    - /etc/shadow
    - /etc/group
    - /etc/gshadow

For Samba, the password database for older versions is typically in
/etc/samba/smbpasswd, and for newer versions is typically in
/var/lib/samba/passdb.tdb

By the way, you do NOT need to implement OpenLDAP just to be able to
migrate your user databases from one computer to another. Using an
alternative authentication storage mechanism like LDAP, SQL or even
Samba can help if you want to centralize the password database for more
than one GNU/Linux machine, though.

Cheers, and good luck.

 --> Jijo

-- 
Federico Sevilla III : jijo.free.net.ph : When we speak of free software
GNU/Linux Specialist : GnuPG 0x93B746BE : we refer to freedom, not price.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to