From 595424457260bdd468a9d1efaa7f8398783cb65f Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 25 Feb 2010 19:28:36 +0000 Subject: [PATCH] log invocation of restartxcatd for auditing git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5299 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/restartxcatd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-server/sbin/restartxcatd b/xCAT-server/sbin/restartxcatd index d053381a1..ea4d20756 100755 --- a/xCAT-server/sbin/restartxcatd +++ b/xCAT-server/sbin/restartxcatd @@ -37,6 +37,9 @@ my @output; my $inoperative = 0; my $check_num; my $cmd = basename($0); +# for auditing +my $current_userid = getpwuid($>); +xCAT::MsgUtils->message("S", " restartxcatd invoked by $current_userid.\n"); if (!(xCAT::Utils->isAIX())) { # only runs on AIX xCAT::MsgUtils->message("E", "Error: This command should only be run on AIX.\n");