]> git.pld-linux.org Git - projects/rc-scripts.git/blame - man/usernetctl.8
LANGUAGE variable gets passed via ssh as well, do not overwrite it
[projects/rc-scripts.git] / man / usernetctl.8
CommitLineData
458f14b7 1.TH USERNETCTL 8 "Red Hat, Inc." "RHS" \" -*- nroff -*-
7e04fe0e 2.SH NAME
3usernetctl \- allow a user to manipulate a network interface if permitted
4.SH SYNOPSIS
5.B usernetctl
6\fIinterface-name\fP up\fI|\fPdown\fI|\fPreport
7.SH DESCRIPTION
8.B usernetctl
9checks to see if users are allowed to manipulate the network interface
10specified by \fIinterface-name\fP, and then tries to bring the network
11interface up or down, if up or down was specified on the command line,
12or returns true or false status (respectively) if the report option was
13specified.
458f14b7
AM
14
15.B usernetctl
16is not really meant to be called directly by users, though it currently
17works fine that way. It is used as a wrapper by the ifup and ifdown
18scripts, so that users can do exactly the same thing as root:
19.nf
20ifup \fIinterface-name\fP
21ifdown \fIinterface-name\fP
22.fi
23and \fBifup\fP and \fBifdown\fP will call usernetctl automatically to
24allow the interface status change.
7e04fe0e 25.SH OPTIONS
26.TP
27.I "\fIinterface-name"
28The name of the network interface to check; for example, "ppp0". For
29backwards compatibility, "ifcfg-ppp0" and
f67ce454 30"/lib/rc-scripts/ifcfg-ppp0" are also supported.
7e04fe0e 31.TP
32up\fI|\fPdown
33Attempt to bring the interface up or down.
34.TP
35report
36Report on whether users can bring the interface up or down.
37.SH NOTES
38Alternate device configurations may inherit the default configuration's
39permissions.
This page took 0.06978 seconds and 4 git commands to generate.