I'd like to password protect a website allowing only Linux users and their passwords stored in /etc/passwd
and /etc/shaddow
to login.
Apache and nginx allow to restrict accessung by using a HTTP auth_basic using specific user and password files. Is it possible to use /etc/passwd
and /etc/shadow
instead or keep the files in sync somehow?