|
rpm-build |
133ac4 |
.TH USERNETCTL 8 "Red Hat, Inc." "RHS" \" -*- nroff -*-
|
|
rpm-build |
133ac4 |
.SH NAME
|
|
rpm-build |
133ac4 |
usernetctl \- allow a user to manipulate a network interface if permitted
|
|
rpm-build |
133ac4 |
.SH SYNOPSIS
|
|
rpm-build |
133ac4 |
.B usernetctl
|
|
rpm-build |
133ac4 |
\fIinterface-name\fP up\fI|\fPdown\fI|\fPreport
|
|
rpm-build |
133ac4 |
.SH DESCRIPTION
|
|
rpm-build |
133ac4 |
.B usernetctl
|
|
rpm-build |
133ac4 |
checks to see if users are allowed to manipulate the network interface
|
|
rpm-build |
133ac4 |
specified by \fIinterface-name\fP, and then tries to bring the network
|
|
rpm-build |
133ac4 |
interface up or down, if up or down was specified on the command line,
|
|
rpm-build |
133ac4 |
or returns true or false status (respectively) if the report option was
|
|
rpm-build |
133ac4 |
specified.
|
|
rpm-build |
133ac4 |
|
|
rpm-build |
133ac4 |
.B usernetctl
|
|
rpm-build |
133ac4 |
is not really meant to be called directly by users, though it currently
|
|
rpm-build |
133ac4 |
works fine that way. It is used as a wrapper by the ifup and ifdown
|
|
rpm-build |
133ac4 |
scripts, so that users can do exactly the same thing as root:
|
|
rpm-build |
133ac4 |
.nf
|
|
rpm-build |
133ac4 |
ifup \fIinterface-name\fP
|
|
rpm-build |
133ac4 |
ifdown \fIinterface-name\fP
|
|
rpm-build |
133ac4 |
.fi
|
|
rpm-build |
133ac4 |
and \fBifup\fP and \fBifdown\fP will call usernetctl automatically to
|
|
rpm-build |
133ac4 |
allow the interface status change.
|
|
rpm-build |
133ac4 |
.SH OPTIONS
|
|
rpm-build |
133ac4 |
.TP
|
|
rpm-build |
133ac4 |
.I "\fIinterface-name"
|
|
rpm-build |
133ac4 |
The name of the network interface to check; for example, "ppp0". For
|
|
rpm-build |
133ac4 |
backwards compatibility, "ifcfg-ppp0" and
|
|
rpm-build |
133ac4 |
"/etc/sysconfig/network-scripts/ifcfg-ppp0" are also supported.
|
|
rpm-build |
133ac4 |
.TP
|
|
rpm-build |
133ac4 |
up\fI|\fPdown
|
|
rpm-build |
133ac4 |
Attempt to bring the interface up or down.
|
|
rpm-build |
133ac4 |
.TP
|
|
rpm-build |
133ac4 |
report
|
|
rpm-build |
133ac4 |
Report on whether users can bring the interface up or down.
|
|
rpm-build |
133ac4 |
.SH NOTES
|
|
rpm-build |
133ac4 |
Alternate device configurations may inherit the default configuration's
|
|
rpm-build |
133ac4 |
permissions.
|