summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-04-09 15:55:30 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-04-09 15:55:30 -0700
commite2632a15614446a50d7ee37259103b9dbc58abfd (patch)
tree62fb9abf3c9145912c0ef003b7fb7d6a9cb8daac
parent339f61eee5a7b57955c29c37c88fff9b772b9e0a (diff)
downloadvyatta-bash-e2632a15614446a50d7ee37259103b9dbc58abfd.tar.gz
vyatta-bash-e2632a15614446a50d7ee37259103b9dbc58abfd.zip
Auditing is on for vbash
Rather than using original patch which did auditing for shell named aubash, we use it for vbash.
-rw-r--r--config.h.in2
-rw-r--r--shell.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/config.h.in b/config.h.in
index 46d281b..acd4def 100644
--- a/config.h.in
+++ b/config.h.in
@@ -83,7 +83,7 @@
/* Define AUDIT_SHELL if you want the generated shell to audit all
actions performed by root account. The shell thus generated can become
- audited by being run with the name "aubash". */
+ audited by being run with the name "vbash". */
#undef AUDIT_SHELL
/* Define DISABLED_BUILTINS if you want "builtin foo" to always run the
diff --git a/shell.c b/shell.c
index b417d24..868c23b 100644
--- a/shell.c
+++ b/shell.c
@@ -1141,7 +1141,7 @@ maybe_make_restricted (name)
#if defined (AUDIT_SHELL)
/* Perhaps make this shell an `audited' one, based on NAME. If the
- basename of NAME is "aubash", then this shell is audited. The
+ basename of NAME is "vbash", then this shell is audited. The
name of the audited shell is a configurable option, see config.h.
In an audited shell, all actions performed by root will be logged
to the audit system.