Remove hard-coded reference to $PREFIX/etc which is not accurate
and remove documentation.
This commit is contained in:
parent
90c2aefac5
commit
a98d6a2269
1 changed files with 3 additions and 17 deletions
|
@ -1,20 +1,6 @@
|
||||||
priv allows authorised users to execute commands that run as different
|
priv allows authorised users to execute commands that run as different
|
||||||
users.
|
users.
|
||||||
|
|
||||||
When priv is invoked, it reads a list of authorised commands from a
|
When priv is invoked, it reads a list of authorised commands from
|
||||||
database file called
|
a per-user database file that defines expiry date, user name to
|
||||||
|
run command as, flags, and command names to run.
|
||||||
${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.
|
|
||||||
|
|
Loading…
Reference in a new issue