Normally you can rely on the default privileges in the case of /etc/passwd, /etc/group, /etc/shadow and /etc/gshadow. In the case of Debian/GNU Linux /etc/group and /etc/passwd is readable by everyone, while /etc/shadow and /etc/gshadow is only readable by root or somebody in the shadow group.
|