summaryrefslogtreecommitdiff
path: root/nss_mapuser.5
diff options
context:
space:
mode:
authorDave Olson <olson@cumulusnetworks.com>2017-06-22 09:27:28 -0700
committerDave Olson <olson@cumulusnetworks.com>2017-06-22 09:48:45 -0700
commit33801fc3071c8a161250b15c3815fc19ca20e41a (patch)
tree1935bfa423cedc9bfbb951416a1e26479978194f /nss_mapuser.5
parent061334771b143b7f47caccba8525be6e041a252f (diff)
downloadlibnss-mapuser-33801fc3071c8a161250b15c3815fc19ca20e41a.tar.gz
libnss-mapuser-33801fc3071c8a161250b15c3815fc19ca20e41a.zip
Fixed naming of nss_mapuser.5 and conf file; naming in manpages
Diffstat (limited to 'nss_mapuser.5')
-rw-r--r--nss_mapuser.567
1 files changed, 67 insertions, 0 deletions
diff --git a/nss_mapuser.5 b/nss_mapuser.5
new file mode 100644
index 0000000..2bbabad
--- /dev/null
+++ b/nss_mapuser.5
@@ -0,0 +1,67 @@
+.TH nss_mapuser 5
+.\" Copyright 2017 Cumulus Networks, Inc. All rights reserved.
+.SH NAME
+nss_mapuser.conf \- NSS mapuser configuration file
+.SH DESCRIPTION
+This is the configuration file for the NSS mapuser plugins.
+See the
+.BR nss_mapuser (8)
+manpage for more general information on the plugin.
+This configuration file controls debug settings, the local account used
+for mapping users, and which usernames (accounts) and uids are skipped.
+.PP
+.TP
+.I debug=NUMBER
+Output lookup debugging information via syslog(3).
+.TP
+.I exclude_users=user1,user2...
+Usernames (accounts) comma separate list. This is used by mapname NSS plugin getpwuid()
+entry point. The account to be looked up is checked against this list. If a match is
+found, an immediate NOTFOUND status is returned. This reduces overhead for the standard
+local user accounts.
+.TP
+.I mapped_user=NAME
+This is the local account which mapping uses as a template. It must be a local
+account (found in
+.IR /etc/passwd ).
+When a uid or name match is found, this account information is read from
+.I /etc/passwd
+and used as a template for the matching account. The
+.B pw_name
+field (user account name)
+is replaced with the original (login) name, and the original name is
+inserted at the beginning of the
+.B pw_gecos
+field. The
+.B pw_dir
+(home directory)
+field replaces the last component of the directory path with the original login
+name.
+.IP
+When changing this field to a different name than the default, be sure the account exists in
+.IR /etc/passwd ,
+and that the account was created as disabled or locked (does not have a legal password, so
+the
+.I NAME
+account can not be used for logins. When using
+.IR adduser (8)
+to create these accounts, use the
+.B --disabled-login
+argument to disable login for the account.
+.TP
+.I min_uid=NUMBER
+UID's passed to the mapuid NSS plugin getpwuid() entry point that are below this value
+cause an immediate NOTFOUND status to be returned. This reduces
+overhead for the standard local user accounts.
+.SH "SEE ALSO"
+.BR adduser (8),
+.BR pam_radius_auth (8),
+.BR nss_mapuser (8),
+.BR nsswitch.conf (5),
+.BR getpwuid (3),
+.BR getpwnam (3),
+.SH FILES
+.I /etc/nss_mapuser.conf
+- mapuser NSS plugin configuration parameters
+.SH AUTHOR
+Dave Olson <olson@cumulusnetworks.com>