[Ilugc] Where to look for user - group relations

  • From: ramana_muthu@xxxxxxxxxxx (Muthukumar)
  • Date: Sat Mar 5 14:45:27 2005

   I want to know which files store the user and group details in a
Linux system. I know about two files /etc/passwd and /etc/group. Is
any other file is there. I am working on mandrakeLinux 9.2 and 10.1

If we are managing users and groups based file then,

/etc/passwd and /etc/group is containing informations.

Which type of storage informations for user and group is decide from 
/etc/nsswitch.conf file.

For users entries as,

passwd: files
shadow: files
group: files

so that your system will be using only files (passwd, group) for user and group 
management.

We can use LDAP, NIS, .. there.

See more in nsswitch.conf, group and passwd man pages.

================================================
Muthukumar Kandasamy

Home Page: http://geocities.com/kmuthu_gct/
================================================ 



Other related posts: