diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-04-06 09:19:49 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-04-06 09:19:49 -0700 |
commit | ddcfa45b9c1b3c653f0f1b4bd0b997266f5bb5aa (patch) | |
tree | a6b3af47bbc02898ac3a6eb117fd831cadfde718 /eval.c | |
parent | d80c542a77015bdc882ff3434c9eeb1a660ecdfb (diff) | |
download | vyatta-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |