File: gnome-sudo.8

package info (click to toggle)
gnome-sudo 0.3-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 964 kB
  • ctags: 504
  • sloc: ansic: 4,524; sh: 3,099; makefile: 359; yacc: 318
file content (78 lines) | stat: -rw-r--r-- 2,105 bytes parent folder | download
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
.\" $Progeny: gnome-sudo/src/gnome-sudo.8,v 1.1 2001/10/31 17:34:39 epg Exp $
.\"
.\" This manpage is copyright (C) 2001 Progeny Linux Systems, Inc.
.\"
.\" Author: Eric Gillespie, Jr. <epg@progeny.com>
.\"
.\" This is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU General Public License as published by the Free
.\" Software Foundation, version 2, or any later version, at your option.
.\"
.\" This is distributed in the hope that it will be useful, but WITHOUT
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
.\" for more details.
.\"
.\" You should have received a copy of the GNU General Public License with
.\" your Debian GNU/Linux system, in /usr/share/common-licenses/GPL, or
.\" with the dpkg source package as the file COPYING.  If not, write to the
.\" Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.TH gnome-sudo 8 "31 Oct 2001"
.SH NAME
gnome-sudo \- GUI frontend to
.BR sudo(8)
.SH SYNOPSIS
.B gnome-sudo
[
.B \-u
.I user
]
.I command
.SH DESCRIPTION
.B gnome-sudo
is typically not invoked directly but rather by other GUI software.
In the shell, you would just use
.BR sudo(8).
.B gnome-sudo
uses a dialog box to prompt for the root password (or
.I user's
if specified) and then executes
.I command
as that user.
.PP
Note that if
.I command
takes options you will have to pass the \-\- pseudo-option to
.B gnome-sudo
so that it will pass the options to
.I command
rather than interpreting them itself.
.PP
Finally, you must have
.BR sudoers(5)
set up correctly in order for
.B gnome-sudo
to work.
.SH OPTIONS
.TP
.B \-u, \-\-user \fIuser
Run
.I command
as
.I user
instead of root.
.SH EXAMPLES
To run the hypothetical gnome-opkg command with a non-standard package
database directory:
.PP
.Vb 1
\& % gnome-sudo -- gnome-opkg --pkgdbdir=/var/db/opkg
.SH FILES
.I /etc/sudoers
.SH SEE ALSO
.BR sudo(8),
.BR sudoers(5),
.BR visudo(8)
.SH AUTHOR
.B gnome-sudo
was written by Eric Gillespie, Jr. for Progeny Linux Systems, Inc.