1USERNETCTL(8)               System Manager's Manual              USERNETCTL(8)
2
3
4

NAME

6       usernetctl  - allow a user to manipulate a network interface if permit‐
7       ted
8

SYNOPSIS

10       usernetctl interface-name up|down|report
11

DESCRIPTION

13       usernetctl checks to see if users are allowed to manipulate the network
14       interface specified by interface-name, and then tries to bring the net‐
15       work interface up or down, if up or down was specified on  the  command
16       line,  or  returns  true  or  false status (respectively) if the report
17       option was specified.
18
19       usernetctl is not really meant to be called directly by  users,  though
20       it  currently works fine that way.  It is used as a wrapper by the ifup
21       and ifdown scripts, so that users can do  exactly  the  same  thing  as
22       root:
23       ifup interface-name
24       ifdown interface-name
25       and  ifup  and  ifdown  will call usernetctl automatically to allow the
26       interface status change.
27

OPTIONS

29       interface-name
30              The name of the network interface to check; for example, "ppp0".
31              For  backwards  compatibility,  "ifcfg-ppp0"  and  "/etc/syscon‐
32              fig/network-scripts/ifcfg-ppp0" are also supported.
33
34       up|down
35              Attempt to bring the interface up or down.
36
37       report Report on whether users can bring the interface up or down.
38

NOTES

40       Alternate device configurations may inherit the default configuration's
41       permissions.
42
43
44
45RHS                              Red Hat, Inc.                   USERNETCTL(8)
Impressum