Re: /etc/passwd.... - Urgent

Tony Nugent <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Organization Linux Works
Message-ID <[email protected]>
On Sat Mar 01 2003 at 11:30, "System" wrote:

> Can I restore my accounts using the passwd file. Just copying
> enteries from one passwd file to other passwd will help.

It's not all that you would need:

/etc/passwd
/etc/shadow
/etc/group
/etc/mail/*
/home/*
/var/spool/mail/*

If you use samba, then /etc/samba/smbpasswd (and maybe others).

If you use ldap, then /etc/nsswitch.conf /etc/openldap/* and
/var/lib/ldap/*.  Similar if things like winbind are being used.

You may need other things like the access config files for ftp,
squid etc.

> Thank you,

In a network situation where the accounts need to be shared across
servers, I would highly recommend ldap or nis, perhaps with nfs.

> Tina.

Cheers
Tony
---*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
 Tony Nugent <Tony*linuxworks.com.au>
 LinuxWorks  Gold Coast Qld Australia
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.