diff options
author | Dave Olson <olson@cumulusnetworks.com> | 2017-06-22 14:33:06 -0700 |
---|---|---|
committer | Dave Olson <olson@cumulusnetworks.com> | 2017-06-22 14:33:06 -0700 |
commit | 5aa57935348ebae321586d5a7b83288983bebfc3 (patch) | |
tree | 1958ad9eabca80eecb745dd647ab612adbaf295c | |
parent | 33801fc3071c8a161250b15c3815fc19ca20e41a (diff) | |
download | libnss-mapuser-5aa57935348ebae321586d5a7b83288983bebfc3.tar.gz libnss-mapuser-5aa57935348ebae321586d5a7b83288983bebfc3.zip |
Fixed formatting and length of passwd examples
-rw-r--r-- | nss_mapuser.8 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nss_mapuser.8 b/nss_mapuser.8 index d19aad7..1b258c5 100644 --- a/nss_mapuser.8 +++ b/nss_mapuser.8 @@ -36,7 +36,7 @@ field. The field replaces the last component of the directory path with the original login name. For example, if the name being looked up is -.B daveolson +.B dave and the named account in the configuration file is .BR radius_user , @@ -44,17 +44,17 @@ and that entry in .I /etc/passwd is .RS -.B radius_user:x:1017:1002:radius user,,,:/home/radius_user:/bin/bash +.B radius_user:x:1017:1002:radius\~user:/home/radius_user:/bin/bash .RE then the matching line returned by -.I getent passwd daveolson +.I getent passwd dave would be .RS -.B daveolson:x:1017:1002:daveolson mapped user:/home/daveolson:/bin/bash +.B dave:x:1017:1002:dave\~mapped\~user:/home/dave:/bin/bash .RE .PP The matching lookup on the uid will only be successful if -.B daveolson +.B dave is logged in, because it checks a flat file database that is created when the mapped user logs in. .PP |