rootでのログインとパスワード認証を禁止

rootログインの禁止。

# Authentication:
LoginGraceTime 120
PermitRootLogin no
StrictModes yes

パスワード認証の禁止。

# Change to no to disable tunnelled clear text passwords
PasswordAuthentication no

設定の反映。

$ sudo service networking restart

ubuntu/v1604/rootでのログインとパスワード認証を禁止.txt · 最終更新: 2018/03/18 09:56 (外部編集)
 
特に明示されていない限り、本Wikiの内容は次のライセンスに従います: CC Attribution-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki