-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
ssu.1
62 lines (62 loc) · 1012 Bytes
/
ssu.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
.\"
.\" this reference written by aabacchus
.\"
.Dd May 4, 2021
.Dt SSU 1
.Os ssu 0.3.1
.Sh NAME
.Nm ssu
.Nd extremely simple su utility
.Sh SYNOPSIS
.Nm
.Op Fl p
.Op Fl u Ar user
.Fl s
.Nm
.Op Fl p
.Op Fl u Ar user
.Fl e Ar
.Nm
.Op Fl p
.Op Fl u Ar user
.Ar command [args...]
.Sh DESCRIPTION
.Pp
.Nm
is a simple privilege elevation utility which relies on file metadata
rather than a config file.
By default, only users in the
.Em wheel
group can use
.Nm .
.Pp
Options:
.Bl -tag -width Ds
.It Fl u Ar user
execute command as user
.It Fl s
run interactive shell
.It Fl p
preserve environment
.It Fl e Ar file
edit file. implies
.Fl p
.El
.Sh ENVIRONMENT
.Bl -tag -width Ds
.It Ev POSIXLY_CORRECT
set to avoid errors like
.Qq invalid option ,
or alternatively guard command-line arguments by using
.Qq -- .
.El
.Sh EXIT STATUS
.Ex -std
.Sh HISTORY
The
.Nm
utility was originally named
.Nm sls ,
but renamed due to conflicts with other open-source projects.
.Sh AUTHORS
.An illiliti Lk https://github.com/illiliti