-
Notifications
You must be signed in to change notification settings - Fork 4
/
please.1
79 lines (74 loc) · 1.67 KB
/
please.1
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
79
.\" Man page generated from reStructuredText.
.
.TH PLEASE 1 "" "" ""
.SH NAME
please \- execute a command as root
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH SYNOPSIS
.nf
\fBplease\fP <command>
\fBplease\fP \-
.fi
.sp
.SH DESCRIPTION
.sp
\fBPlease\fP aims to be little sudo without bells and whistles.
Only pam authentication and executing command.
.sp
Name \fBplease\fP fits into unix naming conventions.
Where we have daemon instead of background process.
We are killing processes, not closing processes.
Now we can please to run privileged process.
.SH EXIT VALUE
.sp
Upon successful execution of a program, the exit status will be
the exit status of the program that was executed.
.sp
Otherwise, \fBplease\fP exits with non\-zero value.
.SH FILES
.sp
/etc/pam.d/please or /usr/local/etc/pam.d/please PAM configuration for please.
.SH EXAMPLES
.nf
Reboot system by unprivileged user:
.in +2
$ please reboot
.in -2
To get a file listing of an unreadable directory:
.in +2
$ please ls /usr/local/protected
.in -2
Run a root shell:
.in +2
$ please \-
.in -2
.fi
.sp
.\" Generated by docutils manpage writer.
.