flagflag  
1: 2021-07-10 (Sat) 16:59:56 iseki source 2: 2021-07-10 (Sat) 18:18:09 iseki source
Line 1: Line 1:
-** NSS [#he82f6d6] +** NSS (Name Service Switch)[#he82f6d6] 
- +- 認証は [[PAM]] が行う 
- ls -l /lib64/libnss_*+#br 
 +*** ライブラリ [#o88afe03] 
 +- /etc/nsswith.conf を見て,下記ライブラリを使用して名前解決を行う 
 + # ls -l /lib64/libnss_*
 -rwxr-xr-x 1 root root  53504  3月 12 04:57 /lib64/libnss_compat-2.28.so*  -rwxr-xr-x 1 root root  53504  3月 12 04:57 /lib64/libnss_compat-2.28.so*
 lrwxrwxrwx 1 root root    21  3月 12 04:46 /lib64/libnss_compat.so.2 -> libnss_compat-2.28.so*  lrwxrwxrwx 1 root root    21  3月 12 04:46 /lib64/libnss_compat.so.2 -> libnss_compat-2.28.so*
Line 15: Line 18:
 -rwxr-xr-x 1 root root  46272  6月  2 04:49 /lib64/libnss_sss.so.2*  -rwxr-xr-x 1 root root  46272  6月  2 04:49 /lib64/libnss_sss.so.2*
 -rwxr-xr-x 1 root root 915160  6月 17 02:53 /lib64/libnss_systemd.so.2*  -rwxr-xr-x 1 root root 915160  6月 17 02:53 /lib64/libnss_systemd.so.2*
 +
 +*** files [#v7386524]
 +#br
 +*** compat [#sfe47caa]
 +#br
 +*** ldap [#m7eeb5e8]
 +- [[nss_ldap]]
 +- [[nslcd]], [[nscd]]
 +#br
 +
 +*** sss [#g827ce89]
 +- [[sssd]]
 +#br
 +
 +*** systemd [#o88604d9]
 +- ?
 +#br
 +
 +*** altfiles [#y673b3db]
 +- https://github.com/aperezdc/nss-altfiles​
 +- /etc/passwd 以外のファイルを passwordファイルとして読み込める
 +
 + # git clone https://github.com/aperezdc/nss-altfiles​.git
 + # cd nss-altfiles/
 + # ./configure --prefix=/usr --datadir=/etc/local --with-type=pwd,grp
 + # make
 + # make install
 + install -m 755 -d /usr/lib
 + install -m 755 libnss_altfiles.so.2 /usr/lib
 + # ln -s /usr/lib/libnss_altfiles.so.2 /usr/lib64/libnss_altfiles.so
 + # ldconfig
 +
 +- /etc/nsswitch.conf
 + passwd: files altfiles
 + group:  files altfiles
 +#br


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

43 user(s) are online (2 user(s) are browsing xpwiki)

Members: 0
Guests: 43

more...

Access Counter

Today : 3748374837483748
Yesterday : 6761676167616761
Total : 2371620523716205237162052371620523716205237162052371620523716205
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com