Skip to content

2022/11

/etc/hosts(LPIC)

/etc/hosts IPアドレスとホスト名の対応情報を格納するファイルです。 $ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 localhost # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 Read more

su,sudo,etc(LPIC)

su,sudo,etc /etc/sudoers sudoコマンドは /etc/sudoers ファイルを参照して、ユーザーがコマンドの実行権限を持っているか判定します。