flagflag  If you want to see English page, please click "English" Button at Left.
1: 2021-07-10 (土) 16:59:56 iseki ソース 2: 2021-07-10 (土) 18:18:09 iseki ソース
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


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 5月翌月
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
<今日>

オンライン状況

54 人のユーザが現在オンラインです。 (5 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 54

もっと...

アクセスカウンタ

今日 : 1200712007120071200712007
昨日 : 1265612656126561265612656
総計 : 2353743823537438235374382353743823537438235374382353743823537438
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com