Search notes:

/etc/shadow

This file should only be accessible to root. It contains the password's hashes for the users listed in /etc/passwd.
An /etc/shadow file can be created from an /etc/passwd file with pwconv.

Group-owner shadow

The group-owner of /etc/shadow is shadow. Some programs that need to be able to access the file are setgid shadow.
The following shell construct finds such files which are in the $PATH variable:
# ( IFS=:
  for path in $PATH; do
      find $path -type f -group shadow -perm -g=s
  done
)
/usr/sbin/unix_chkpwd
/usr/bin/chage
/usr/bin/expiry

See also

security
lslogins (part of util-linux).

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Linux/fh...', 1758200593, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Linux/fhs/etc/shadow(58): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78