ãã¹ãç¨FreeBSD13.4ã®å種è¨å®ãè¡ããã¨æãã¾ããã注*1ã
å°çã®å¥å¿ç¦ã§ãããã容赦ããã ããã°å¹¸ãã§ãðââï¸ã
1.NISã¯ã©ã¤ã¢ã³ãè¨å®
ã¾ãããã¹ããã·ã³ãNISã¯ã©ã¤ã¢ã³ãã«ãã¾ãã
(1)/etc/passwdã®ä¿®æ£
root@test_sv:# vipw | ; | ä¸è¨ã赤åé¨åã追å ã |
[..] +:*::::: |
(2)/etc/groupã®ä¿®æ£
root@test_sv:# vi /etc/groups | ; | 以ä¸ã®èµ¤åé¨åã追å ã |
[..] +:*:: |
(3)rc.confã®ä¿®æ£
root@test_sv:## cd /etc | ; | /etcã«ç§»å |
root@test_sv:## vi /etc/rc.conf | ; | rc.confãã¡ã¤ã«ãä¿®æ£ |
- 以ä¸ã®é»è²åé¨åã追å
[..] # NIS client |
(4)/etc/groupãã¡ã¤ã«ã®å¤æ´
root@test_sv:## cd /etc | ; | /etcã«ç§»å |
root@test_sv:## vi /etc/group | ; | groupãã¡ã¤ã«ãä¿®æ£ |
- 以ä¸ã®é»è²åé¨åã追å
[..] wheel:*:0:root,[admin_user] [..] |
(5)åèµ·å
2.sshdã®æå¹å
ã³ã³ã½ã¼ã«ã§ã®ä½æ¥ã¯æå¤ã¨ããã©ãããã®ã§ãã¾ãã¯ãTeraTermããæ¥ç¶ã§ããããã«ãã¾ãã
(1)/etc/rc.confã®è¨å®
root@test_sv:## cd /etc | ; | /etcã«ç§»å |
root@test_sv:## vi /etc/rc.conf | ; | rc.confãã¡ã¤ã«ãä¿®æ£ |
- 以ä¸ã®é»è²åé¨åã追å
sshd_enable="YES" |
(2)sshdã®è¨å®
oot@test_sv:## cd /etc/ssh | ; | /etcã«ç§»å |
root@test_sv:## vi sshd_config | ; | sshd_configãã¡ã¤ã«ãä¿®æ£ |
- 以ä¸ã®é»è²åé¨åãä¿®æ£
[..] PasswordAuthentication yes |
- åèµ·å
åºå ¸ã»å¼ç¨ã»åè
*1:ãã®æ稿ã®å 容ã¯ãç¹å®ã®æ©ç¨®ä¸¦ã³ã«ç¹å®ã®ç°å¢ã§ã®ç¢ºèªçµæã«ãªãã¾ããåçæ©ç¨®ãç°ãªãç°å¢ã§ã®åä½ä»ãä¿è¨¼ãããã®ã§ã¯ããã¾ããã®ã§ããçæããã ãã¾ãæ§ãé¡ããããã¾ãã