エイリアスのインターフェイスを起動したり終了したりする権限を、root 以外の 1 人のユーザーにのみ付与する
Issue
- ネットワークインターフェイス設定ファイルで
USERCTL
オプションを有効にすると、root 以外のすべてのユーザーがこのインターフェイスを制御できるようになり、特定のユーザーだけが制御できるように指定する方法がありません。
# cat ifcfg-eth0:1
DEVICE=eth0:1
USERCTL=yes
USERCTL=<answer>
where <answer> is one of the following:
yes — Non-root users are allowed to control this device.
no — Non-root users are not allowed to control this device.
Environment
- Red Hat Enterprise Linux (すべてのバージョン)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.