LDAPãããã£ã¦ããéã«ç¥ã£ãã³ãã³ããgetentã LDAPãNISèªè¨¼ãå©ç¨ãã¦ãããã·ã³ã§å¿ è¦ã«ãªãã¨æãããã ãããã·ã³ã«ãOSä¸ã®ã¢ã«ã¦ã³ãã¯åå¨ããªãããLDAPã¦ã¼ã¶ããããç¶æ ãããã¨ããã /etc/passwdãè¦ã¦ããã®ã¦ã¼ã¶ã¯åå¨ããªããã以ä¸ã³ãã³ããå®è¡ããã°åå¨ãã¦ããã®ã ã # getent passwd | grep testuser testuser:*:2000:2000:testuser:/home/testuser:/bin/bash å½ç¶ã®ãã¨ãªã®ãããããªãããçºè¦ããæã¯ã³ã£ããããã ï¼ãªãããã®æ# id ã¦ã¼ã¶åãå®è¡ããã°ãæ®éã«æ å ±ãåºåãããï¼ ããã/etc/nsswitch.confã«ldapåç §ã追å ããã¦ããå¿ è¦ãããããã å½ç¶ãã¯ã©ã¤ã¢ã³ããã·ã³ã¨LDAPãµã¼ãã®éä¿¡ãæ£å¸¸ã§ãããã¨ããåæãå¿ è¦ã ãªã®ã§ã試ã
{{#tags}}- {{label}}
{{/tags}}