summaryrefslogtreecommitdiff
path: root/security/priv/DESCR
blob: ecf8df24459b092b2f79d1072015aa805a3e095d (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-separated 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.