flagflag  If you want to see English page, please click "English" Button at Left.

NSS (Name Service Switch) anchor.png

  • 認証は PAM が行う
     
Page Top

ライブラリ anchor.png

  • /etc/nsswith.conf を見て,下記ライブラリを使用して名前解決を行う
    # ls -l /lib64/libnss_*
    -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*
    -rwxr-xr-x 1 root root  35472  3月 12 04:57 /lib64/libnss_dns-2.28.so*
    lrwxrwxrwx 1 root root     18  3月 12 04:46 /lib64/libnss_dns.so.2 -> libnss_dns-2.28.so*
    -rwxr-xr-x 1 root root  83728  3月 12 04:57 /lib64/libnss_files-2.28.so*
    lrwxrwxrwx 1 root root     20  3月 12 04:46 /lib64/libnss_files.so.2 -> libnss_files-2.28.so*
    lrwxrwxrwx 1 root root     16  5月 14  2019 /lib64/libnss_ldap.so -> libnss_ldap.so.2*
    -rwxr-xr-x 1 root root  58920  5月 14  2019 /lib64/libnss_ldap.so.2*
    -rwxr-xr-x 1 root root 687144  6月 17 02:53 /lib64/libnss_myhostname.so.2*
    -rwxr-xr-x 1 root root 932312  6月 17 02:53 /lib64/libnss_mymachines.so.2*
    -rwxr-xr-x 1 root root 911104  6月 17 02:53 /lib64/libnss_resolve.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*
Page Top

files anchor.png

 
Page Top

compat anchor.png

  • Compatibility mode
  • /etc/passwd, /etc/shadow, /etc/group で + - をサポート.
     
Page Top

ldap anchor.png

Page Top

sss anchor.png

Page Top

systemd anchor.png

  • 新しい DNS リゾルバ.複数のネームサーバに同時にリクエストを投げたりできる.
  • インターフェイス毎のネームサーバを指定できたりもする.
  • systemd-resolved
    • /etc/systemd/resolvd.conf
       
Page Top

altfiles anchor.png

# 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
     

トップ   凍結 差分 バックアップ 複製 名前変更 リロード   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom
Counter: 449, today: 1, yesterday: 1
最終更新: 2021-07-12 (月) 11:08:20 (JST) (1011d) by iseki

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

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

オンライン状況

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

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

もっと...

アクセスカウンタ

今日 : 804804804
昨日 : 8008800880088008
総計 : 2327644023276440232764402327644023276440232764402327644023276440
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com