RHEL7 で通常のユーザーが電源オフ、システムの再起動、サスペンド、およびハイバネートを行わないように制限する
Issue
- RHEL7 で通常のユーザーが電源オフ、システムの再起動、サスペンド、およびハイバネートを行わないように制限するにはどうしたら良いですか?
- ユーザーがコンソールからログインしており、他にログインユーザーがいない場合は、poweroff、reboot、systemctl suspend、および systemctl hibernate を実行できます。
-
ユーザーがリモートからログインし、root または wheel グループのユーザーのパスワードを知っている場合は、以下のコマンドを実行できます。
[user1@rhel7 ~]$ reboot ==== AUTHENTICATING FOR org.freedesktop.login1.reboot === Authentication is required for rebooting the system. Authenticating as: root Password: -
管理者以外のユーザーで GNOME 3 上の電源オフメニューを無効化する方法は?
- 管理者以外のユーザーで GDM ログイン画面の電源オフメニューを無効化する方法は?
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
