2000-07-14 12:53:26 +02:00
|
|
|
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>
|
|
|
|
|
2004-02-01 01:11:13 +01:00
|
|
|
Each line of the database file is a colon-separated list of fields.
|
2000-07-14 12:53:26 +02:00
|
|
|
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.
|