Skip to content
This repository has been archived by the owner on Feb 4, 2019. It is now read-only.

Developer Documentation

Kawakami edited this page Dec 18, 2018 · 7 revisions

Note: this documentation is for maintainers, and is updated frequently; for official documentation please consult the upstream libnss-pool README.

Dependencies

Compiling

  1. Fetch source code:
git clone https://github.com/CyberNinjas/libnss-pool

cd libnss-pool
  1. Compile:
gcc -fPIC -Wall -shared -o libnss_pool.so.2 -Wl,-soname,libnss_pool.so.2 libnss_pool.c

Tools

Example:


    gentent passwd $(whoami)

Example:


    strace -ttt getent passwd $(whoami)

Resources

Clone this wiki locally