How to allow only one specific non-root user to bring up/down alias interface ?
Issue
- After enable the
USERCTLoption in the network interface configuration file, it enables all non-root users to control this interface, and there is no more option to specify only the particular user/users to control that.
# 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 (All Versions)
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.
