summaryrefslogtreecommitdiff
path: root/flags.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-06-17 10:05:01 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-06-17 10:05:01 -0700
commit770e38401ae5489d58d7dd1f45cf27813d100d5e (patch)
treede009ba16331d4ce60ce540ad0bc3a34be1912b8 /flags.c
parent17e6dd57b0b329888f64491a0bfdd0c9793dd216 (diff)
downloadvyatta-bash-770e38401ae5489d58d7dd1f45cf27813d100d5e.tar.gz
vyatta-bash-770e38401ae5489d58d7dd1f45cf27813d100d5e.zip
Remove AUDIT_SHELL option
The concept of logging shell commands through audit subsystem is not useful because it is too hard to configure, requires special privledges, doesn't handle background commands, and is missing the necessary information...
Diffstat (limited to 'flags.c')
-rw-r--r--flags.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/flags.c b/flags.c
index e50d6dc..0c0868b 100644
--- a/flags.c
+++ b/flags.c
@@ -142,12 +142,6 @@ int restricted = 0; /* currently restricted */
int restricted_shell = 0; /* shell was started in restricted mode. */
#endif /* RESTRICTED_SHELL */
-#if defined (AUDIT_SHELL)
-/* Non-zero means that this shell is audited. An audited shell records
- each command that the root user executes. */
-int audited = 0; /* shell was started in audit mode. */
-#endif /* AUDIT_SHELL */
-
/* Non-zero means that this shell is running in `privileged' mode. This
is required if the shell is to run setuid. If the `-p' option is
not supplied at startup, and the real and effective uids or gids