summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-04-06 09:19:49 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-04-06 09:19:49 -0700
commitddcfa45b9c1b3c653f0f1b4bd0b997266f5bb5aa (patch)
treea6b3af47bbc02898ac3a6eb117fd831cadfde718 /eval.c
parentd80c542a77015bdc882ff3434c9eeb1a660ecdfb (diff)
downloadvyatta-bash-ddcfa45b9c1b3c653f0f1b4bd0b997266f5bb5aa.tar.gz
vyatta-bash-ddcfa45b9c1b3c653f0f1b4bd0b997266f5bb5aa.zip
Turn on auditing for Vyatta bash
The original patch turned on auditing iff shell was named aubash and user was root. We change that to be always on if shell if vbash.
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index e493643..a9937a8 100644
--- a/eval.c
+++ b/eval.c
@@ -187,7 +187,7 @@ reader_loop ()
executing = 1;
stdin_redir = 0;
#if defined (AUDIT_SHELL)
- if (audited && interactive_shell && getuid () == 0)
+ if (audited && interactive_shell)
{
if (audit_start () < 0)
{