NSS
をテンプレートにして作成
[
トップ
] [
タイトル一覧
|
ページ一覧
|
新規
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
** NSS (Name Service Switch)[#he82f6d6]
- 認証は [[PAM]] が行う
*** ライブラリ [#o88afe03]
- /etc/nsswith.conf を見て,下記ライブラリを使用して名前...
# ls -l /lib64/libnss_*
-rwxr-xr-x 1 root root 53504 3月 12 04:57 /lib64/libns...
lrwxrwxrwx 1 root root 21 3月 12 04:46 /lib64/libns...
-rwxr-xr-x 1 root root 35472 3月 12 04:57 /lib64/libns...
lrwxrwxrwx 1 root root 18 3月 12 04:46 /lib64/libns...
-rwxr-xr-x 1 root root 83728 3月 12 04:57 /lib64/libns...
lrwxrwxrwx 1 root root 20 3月 12 04:46 /lib64/libns...
lrwxrwxrwx 1 root root 16 5月 14 2019 /lib64/libns...
-rwxr-xr-x 1 root root 58920 5月 14 2019 /lib64/libns...
-rwxr-xr-x 1 root root 687144 6月 17 02:53 /lib64/libns...
-rwxr-xr-x 1 root root 932312 6月 17 02:53 /lib64/libns...
-rwxr-xr-x 1 root root 911104 6月 17 02:53 /lib64/libns...
-rwxr-xr-x 1 root root 46272 6月 2 04:49 /lib64/libns...
-rwxr-xr-x 1 root root 915160 6月 17 02:53 /lib64/libns...
*** files [#v7386524]
*** compat [#sfe47caa]
- Compatibility mode
- /etc/passwd, /etc/shadow, /etc/group で + - をサポート.
*** ldap [#m7eeb5e8]
- [[nss_ldap]]
- [[nslcd]], [[nscd]]
*** sss [#g827ce89]
- [[sssd]]
*** systemd [#o88604d9]
- 新しい DNS リゾルバ.複数のネームサーバに同時にリクエス...
- インターフェイス毎のネームサーバを指定できたりもする.
- systemd-resolved
-- /etc/systemd/resolvd.conf
*** 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-...
# 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_...
# ldconfig
- /etc/nsswitch.conf
passwd: files altfiles
group: files altfiles
終了行:
** NSS (Name Service Switch)[#he82f6d6]
- 認証は [[PAM]] が行う
*** ライブラリ [#o88afe03]
- /etc/nsswith.conf を見て,下記ライブラリを使用して名前...
# ls -l /lib64/libnss_*
-rwxr-xr-x 1 root root 53504 3月 12 04:57 /lib64/libns...
lrwxrwxrwx 1 root root 21 3月 12 04:46 /lib64/libns...
-rwxr-xr-x 1 root root 35472 3月 12 04:57 /lib64/libns...
lrwxrwxrwx 1 root root 18 3月 12 04:46 /lib64/libns...
-rwxr-xr-x 1 root root 83728 3月 12 04:57 /lib64/libns...
lrwxrwxrwx 1 root root 20 3月 12 04:46 /lib64/libns...
lrwxrwxrwx 1 root root 16 5月 14 2019 /lib64/libns...
-rwxr-xr-x 1 root root 58920 5月 14 2019 /lib64/libns...
-rwxr-xr-x 1 root root 687144 6月 17 02:53 /lib64/libns...
-rwxr-xr-x 1 root root 932312 6月 17 02:53 /lib64/libns...
-rwxr-xr-x 1 root root 911104 6月 17 02:53 /lib64/libns...
-rwxr-xr-x 1 root root 46272 6月 2 04:49 /lib64/libns...
-rwxr-xr-x 1 root root 915160 6月 17 02:53 /lib64/libns...
*** files [#v7386524]
*** compat [#sfe47caa]
- Compatibility mode
- /etc/passwd, /etc/shadow, /etc/group で + - をサポート.
*** ldap [#m7eeb5e8]
- [[nss_ldap]]
- [[nslcd]], [[nscd]]
*** sss [#g827ce89]
- [[sssd]]
*** systemd [#o88604d9]
- 新しい DNS リゾルバ.複数のネームサーバに同時にリクエス...
- インターフェイス毎のネームサーバを指定できたりもする.
- systemd-resolved
-- /etc/systemd/resolvd.conf
*** 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-...
# 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_...
# ldconfig
- /etc/nsswitch.conf
passwd: files altfiles
group: files altfiles
ページ名: