とーますメモ

Ruby on Rails / Goなどの学習メモ

Rkhunter

【Rootkit Hunter】「Warning: The file properties have changed:」という警告が出た時の対応方法

自分の場合、Slackで通知が来る設定にしているのだが 「Warning: The file properties have changed:○○○○○○○○...」 というようなエラーが届くようになった。調べてみたら、システムやパッケージをアップデートしたら、 以下のコマンドで、rkhunterのプロパテ…

【Ubuntu】自分用まとめ:セキュリティ対策

自分用メモ。 1)rootユーザでのログインを禁止 /etc/ssh/sshd_config PermitRootLogin no 2)sshdのログインポートの変更 /etc/ssh/sshd_config Port 1234 3)パスワード認証を禁止 /etc/ssh/sshd_config PasswordAuthentication no 4)いらないサービ…