linux-pam/examples
Dmitry V. Levin 7fb6beed01 meson: build Linux-PAM using meson
On my non-representative hardware, the full build using autotools
(./autogen.sh && CFLAGS=-O2 ./configure && make -j`nproc` && make -j`nproc` install)
takes about 45 seconds.

On the same hardware, the full build using meson
(meson setup -Doptimization=2 dir && meson compile -C dir && meson install -C dir)
takes just about 7.5 seconds.
2024-09-10 08:00:00 +00:00
..
.gitignore examples: ignore generated tty_conv 2023-01-25 18:19:10 +01:00
blank.c Fix whitespace issues 2011-10-26 23:56:54 +00:00
check_user.c Fix whitespace issues 2011-10-26 23:56:54 +00:00
Makefile.am Add a conversation function example 2022-01-14 17:23:33 +01:00
meson.build meson: build Linux-PAM using meson 2024-09-10 08:00:00 +00:00
README Fix whitespace issues 2011-10-26 23:56:54 +00:00
tty_conv.c examples/tty_conv: fix build on musl 2023-05-12 02:09:07 +00:00
vpass.c Fix whitespace issues 2011-10-26 23:56:54 +00:00
xsh.c Update xsh.c 2022-01-18 11:17:55 +01:00

(now we are getting networked apps, be careful to try and test on a
securely isolated system!)

These programs grant no privileges, but they give an idea of how well
the modules are working.

blank is new as of Linux-PAM-0.21. If you are writing/modifying an
application it might be a place to start...

xsh is new as of Linux-PAM-0.31, it is identical to blank, but invokes
/bin/sh if the user is authenticated.