You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Staffan Thomen 4887c03dcb lint 10 months ago
.hgtags Added tag 1.3 for changeset aeac71204402 10 months ago
Makefile Move -fPIC to the general default CC flags 10 months ago
README.md Move -fPIC to the general default CC flags 10 months ago
pam_loginconf.c lint 10 months ago

README.md

pam_loginconf

A PAM module for setting the context from a BSD-style login.conf on login. This is mostly useful for non-login based logins, primarily developed with ssh in mind as UseLogin is now deprecated.

Installation

Build the module like usual:

% make
# make install

Various build options can be specified by setting (make) environment variables;

  • CC - The compiler to use (default: cc)
  • CFLAGS - Compiler flags, overrides make
  • LDFLAGS - Linker flags, overrides make
  • CCARGS - Adds to CFLAGS (default: -fPIC, with -DNO_STATIC_MODULES on NetBSD)
  • LDARGS - Adds to LDFLAGS (default: -shared -lpam -lutil)
  • INSTALL - install program (default: install)
  • PREFIX - install path (default: /usr)

Usage

To use, simply add the line below to your pam config.

session    required    pam_loginconf.so