auth-client-config is a script for modifying nsswitch.conf and pam configuration files to aid in authentication configuration. It can be used by distribution packages or system administers to quickly and easily deploy configurations for nsswitch.conf and pam.
Excerpted from the man page (for version 0.4):
DESCRIPTION
This program updates nsswitch.conf and pam configuration files to aid in
comment out the current configuration in such a way that the changes
can be undone by auth-client-config with the -r option.
USAGE
OPTIONS
--version
show program’s version number and exit
-h, --help
show this help message and exit
-a, --all-types
apply all types for specified profile
-d, --database-only
-f FILE, --file=FILE
-l, --list-profiles
list available profiles
-L, --list-types
list available types
-n, --dry-run
don’t modify anything, just show the changes
-p PROFILE, --profile=PROFILE (required)
use PROFILE
-r, --reset
reset file(s) to previous non-auth-
-s, --check-system
-S, --show-system
show current system settings as a profile
-t TYPE, --type=TYPE
PROFILES DATABASE
Each time auth-client-config is run, it will check the profiles database
(by default, #CONFIG_
directory to support custom authentication configurations. This is use‐
ful for a distribution maintainer to have his/her authentication package
put an authentication profile into the profiles database, and then have
his/her package use auth-client-config to update the system configura‐
tion. It also allows for an administrator to set up a single profile for
site-wide network authentication roll-outs.
The files in the profiles database use the .INI configuration file stan‐
dard, and the syntax is:
[example]
If you need to specify multiple entries for a specific type (which is
often the case with PAM), then simply list additional entries on a new‐
line preceded by a tab. For example, an entry for local configuration
might be:
min=4 max=8 md5 debug
Notice how in the above, pam_session has two entries (pam_password in
this example should be all on one line, hence the ’\’).
To use the above entry with auth-client-config, create a file with the
above entries in it and put the file into the profiles database directory
(typically named after the profile or package that added it). Now call
EXAMPLES
Set nsswitch.conf and pam to use the ’example_local’ profile:
Set only nsswitch.conf to use the ’example_local’ profile, but only if
current nsswitch.conf entries exist in the profiles database:
Restore nsswitch.conf and pam to previous non-auth-
View full history Series and milestones
trunk series is the current focus of development.
All code Code
- Version control system:
- Bazaar
- Programming languages:
- python
All packages Packages in Distributions
-
nss source package in Wheezy
Version 2:3.14.5-1+deb7u5 uploaded -
auth-client-config source package in Xenial
Version 0.9ubuntu1 uploaded -
auth-client-config source package in Trusty
Version 0.9ubuntu1 uploaded -
auth-client-config source package in Precise
Version 0.9ubuntu1 uploaded -
auth-client-config source package in Bionic
Version 0.9ubuntu1 uploaded
All bugs Latest bugs reported
-
Bug #451756: metapakage should include nscd
Reported -
Bug #179919: No netgroup support
Reported