エイリアスのインターフェイスを起動したり終了したりする権限を、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 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.
