mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 13:58:05 +00:00
added CLASSIC_INSULTS, CSOPS_INSULTS, SHELL_IF_NO_ARGS
This commit is contained in:
19
OPTIONS
19
OPTIONS
@@ -93,6 +93,11 @@ USE_INSULTS
|
|||||||
just like the original sudo(8).
|
just like the original sudo(8).
|
||||||
This is off by default.
|
This is off by default.
|
||||||
|
|
||||||
|
CLASSIC_INSULTS
|
||||||
|
Uses insults from sudo "classic." If you just define USE_INSULTS
|
||||||
|
you will get the classic insults.
|
||||||
|
This is on by default if USE_INSULTS is defined.
|
||||||
|
|
||||||
HAL_INSULTS
|
HAL_INSULTS
|
||||||
Uses 2001-like insults when an incorrect password is entered. You must
|
Uses 2001-like insults when an incorrect password is entered. You must
|
||||||
define USE_INSULTS as well for this to have any effect.
|
define USE_INSULTS as well for this to have any effect.
|
||||||
@@ -104,6 +109,11 @@ GOONS_INSULTS
|
|||||||
to have any effect.
|
to have any effect.
|
||||||
This is off by default.
|
This is off by default.
|
||||||
|
|
||||||
|
CSOPS_INSULTS
|
||||||
|
Insults the user with an extra set of insults from a sysadmin group at CU
|
||||||
|
(CSOps). You must define USE_INSULTS as well for this to have any effect.
|
||||||
|
This is off by default.
|
||||||
|
|
||||||
EDITOR
|
EDITOR
|
||||||
This is the default editor used by visudo (and the only editor used unless
|
This is the default editor used by visudo (and the only editor used unless
|
||||||
ENV_EDITOR is defined).
|
ENV_EDITOR is defined).
|
||||||
@@ -139,7 +149,7 @@ SECURE_PATH
|
|||||||
have the "root path" be separate from the "user path." You will
|
have the "root path" be separate from the "user path." You will
|
||||||
need to customize the path for your site.
|
need to customize the path for your site.
|
||||||
NOTE: SECURE_PATH is not applied to users in the EXEMPTGROUP.
|
NOTE: SECURE_PATH is not applied to users in the EXEMPTGROUP.
|
||||||
This is turned off by default.
|
This is off by default.
|
||||||
|
|
||||||
USE_EXECV
|
USE_EXECV
|
||||||
Use execv() to exec the command instead of execvp(). I can't think of
|
Use execv() to exec the command instead of execvp(). I can't think of
|
||||||
@@ -149,6 +159,13 @@ USE_EXECV
|
|||||||
'#!/bin/sh' cookie (like /bin/kill on sunos and /etc/fastboot on 4.3BSD).
|
'#!/bin/sh' cookie (like /bin/kill on sunos and /etc/fastboot on 4.3BSD).
|
||||||
This is off by default.
|
This is off by default.
|
||||||
|
|
||||||
|
SHELL_IF_NO_ARGS
|
||||||
|
If sudo is invoked with no arguments it acts as if the "-s" flag
|
||||||
|
had been given. Namely, it runs a shell as root (the shell is
|
||||||
|
determined by the SHELL envariable, falling back on the shell listed
|
||||||
|
in the invoking user's /etc/passwd entry).
|
||||||
|
This is off by default.
|
||||||
|
|
||||||
FAST_MATCH
|
FAST_MATCH
|
||||||
When matching a given command to a path listed in the sudoers file,
|
When matching a given command to a path listed in the sudoers file,
|
||||||
only check the inodes for a match if the basenames match.
|
only check the inodes for a match if the basenames match.
|
||||||
|
Reference in New Issue
Block a user