]> granicus.if.org Git - shadow/commit
Support systems that only have utmpx
authorA. Wilcox <AWilcox@Wilcox-Tech.com>
Sun, 24 Jun 2018 05:13:12 +0000 (00:13 -0500)
committerA. Wilcox <AWilcox@Wilcox-Tech.com>
Sun, 24 Jun 2018 05:13:12 +0000 (00:13 -0500)
commit99dbd4b9eec4431c20149c0e98d103cc89a3c788
treedf3adb17a3bb4cdf2cc702a65b99f9d873798bd1
parent67ec1a526626b37a7c61c80db3ae6944d53410a1
Support systems that only have utmpx

This allows shadow-utils to build on systems like Adélie, which have no
<utmp.h> header or `struct utmp`.  We use a <utmpx.h>-based daemon,
utmps[1], which uses `struct utmpx` only.

Tested both `login` and `logoutd` with utmps and both work correctly.

[1]: http://skarnet.org/software/utmps/
configure.ac
lib/prototypes.h
libmisc/utmp.c
src/login.c