Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 438 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 438 Bytes

libnss HTTP Request

The custom NSS for Linux (SFTP/SSH/FTP/etc.) authorisation. Makes request to an HTTP/API endpoint to get a passwd entry.

Compile and install

make && make install

Configuration file

vim /etc/libnss_http.conf

To utilise the NSS library

Add the module to passwd line in NSS configuration as http after files:

# passwd:     files http
vim /etc/nsswitch.conf