blob: ee2ef6ab9238bb2d4f2971f0fca2738e1e2ea9d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
priv allows authorised users to execute commands that run as different
users.
When priv is invoked, it reads a list of authorised commands from a
database file called
${PREFIX}/etc/priv/<username>
Each line of the database file is a colon-seperated list of fields.
The first two fields must be specified. Blank lines or lines
beginning with a ``#'' character are ignored. The fields, in order,
are:
expiry date
user name to run command as
flags
command name
The format of the expiry date is YYYYMMDDhhmm. A date of ``0'' is
interpreted as no expiry date.
|