aboutsummaryrefslogtreecommitdiffstats
path: root/src/usernetctl.8
blob: 2fb84da1a11be6710eaa1236e5734c1e0e717286 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
.TH USERNETCTL 8 "Red Hat, Inc." "RHS" \" -*- nroff -*-
.SH NAME
usernetctl \- allow a user to manipulate a network interface if permitted
.SH SYNOPSIS
.B usernetctl
\fIinterface-name\fP up\fI|\fPdown\fI|\fPreport
.SH DESCRIPTION
.B usernetctl
checks to see if users are allowed to manipulate the network interface
specified by \fIinterface-name\fP, and then tries to bring the network
interface up or down, if up or down was specified on the command line,
or returns true or false status (respectively) if the report option was
specified.

.B usernetctl
is not really meant to be called directly by users, though it currently
works fine that way.  It is used as a wrapper by the ifup and ifdown
scripts, so that users can do exactly the same thing as root:
.nf
ifup \fIinterface-name\fP
ifdown \fIinterface-name\fP
.fi
and \fBifup\fP and \fBifdown\fP will call usernetctl automatically to
allow the interface status change.
.SH OPTIONS
.TP
.I "\fIinterface-name"
The name of the network interface to check; for example, "ppp0".  For
backwards compatibility, "ifcfg-ppp0" and
"/etc/sysconfig/network-scripts/ifcfg-ppp0" are also supported.
.TP
up\fI|\fPdown
Attempt to bring the interface up or down.
.TP
report
Report on whether users can bring the interface up or down.
.SH NOTES
Alternate device configurations may inherit the default configuration's
permissions.
'/>
path: root/perl-install/install/install2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-10-26 09:43:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-10-26 09:43:13 +0000
commit3094a07dd4df1f2a72fd9aa5ed50d01ffc231a99 (patch)
treed0ec5f405b8b1e7feb8d9587e6c562e89dbb50c3 /perl-install/install/install2.pm
parent6967171048c6a06e904a84bafd918ac9f575a221 (diff)
downloaddrakx-3094a07dd4df1f2a72fd9aa5ed50d01ffc231a99.tar
drakx-3094a07dd4df1f2a72fd9aa5ed50d01ffc231a99.tar.gz
drakx-3094a07dd4df1f2a72fd9aa5ed50d01ffc231a99.tar.bz2
drakx-3094a07dd4df1f2a72fd9aa5ed50d01ffc231a99.tar.xz
drakx-3094a07dd4df1f2a72fd9aa5ed50d01ffc231a99.zip
add some debug message: detect @::auto_steps containing invalid step