<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SUDO: Detailed commad logging in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425915#M355013</link>
    <description>Hi,&lt;BR /&gt;Requirement: After a user logs in with sudo, each of the commands executed by the user should be logged either in syslog or a seperate log file. &lt;BR /&gt;&lt;BR /&gt;I checked thru lot of forum posts but could not find a working response.&lt;BR /&gt;&lt;BR /&gt;sudoers file listed below&lt;BR /&gt;#########################################&lt;BR /&gt;# Host alias specification&lt;BR /&gt;&lt;BR /&gt;# User alias specification&lt;BR /&gt;&lt;BR /&gt;# Cmnd alias specification&lt;BR /&gt;&lt;BR /&gt;# Defaults specification&lt;BR /&gt;&lt;BR /&gt;Defaults logfile=/var/run/sudo/sudo.log&lt;BR /&gt;&lt;BR /&gt;# Runas alias specification&lt;BR /&gt;&lt;BR /&gt;# User privilege specification&lt;BR /&gt;root    ALL=(ALL) SETENV: ALL&lt;BR /&gt;&lt;BR /&gt;# Uncomment to allow people in group wheel to run all commands&lt;BR /&gt;# and set environment variables.&lt;BR /&gt;# %wheel        ALL=(ALL) SETENV: ALL&lt;BR /&gt;&lt;BR /&gt;# Same thing without a password&lt;BR /&gt;# %wheel        ALL=(ALL) NOPASSWD: SETENV: ALL&lt;BR /&gt;&lt;BR /&gt;# Samples&lt;BR /&gt;# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom&lt;BR /&gt;# %users  localhost=/sbin/shutdown -h now&lt;BR /&gt;stony  bkpsvr=/usr/bin/rlogin,/usr/lbin/remshd,/usr/sbin/cmviewcl, /usr/sbin/cmviewcl -v, /usr/sbin/dmesg, /usr/sbin/vxdmpadm listctlr all, /&lt;BR /&gt;usr/sbin/sam, /usr/sbin/swinstall, /opt/contrib/bin/nickel, /usr/bin/gsp, /sbin/ioscan, /opt/ignite/bin/make_tape_recovery&lt;BR /&gt;&lt;BR /&gt;############################################&lt;BR /&gt;&lt;BR /&gt;contents of the log file generate /var/run/sudo/sudo.log&lt;BR /&gt;&lt;BR /&gt;###########################################&lt;BR /&gt;root@bkpsvr#cat /var/run/sudo/sudo.log&lt;BR /&gt;May 25 12:52:12 : stony : HOST=bkpsvr : TTY=pts/tb ; PWD=/home/stony ; USER=root&lt;BR /&gt;    ; COMMAND=/usr/bin/rlogin bkpsvr&lt;BR /&gt;May 25 13:07:26 : hpce : HOST=bkpsvr : TTY=pts/1 ; PWD=/home/stony ; USER=root&lt;BR /&gt;    ; COMMAND=/bin/rlogin bkpsvr&lt;BR /&gt;&lt;BR /&gt;###########################################&lt;BR /&gt;&lt;BR /&gt;The log file only lists the timestamp when I tried to run a command. &lt;BR /&gt;&lt;BR /&gt;What I want sudo is to tell me, what command was executed eg cmviewcl / swlist etc.&lt;BR /&gt;&lt;BR /&gt;What option should be included to enable detailed logging. &lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
    <pubDate>Mon, 25 May 2009 07:39:23 GMT</pubDate>
    <dc:creator>stony_2</dc:creator>
    <dc:date>2009-05-25T07:39:23Z</dc:date>
    <item>
      <title>SUDO: Detailed commad logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425915#M355013</link>
      <description>Hi,&lt;BR /&gt;Requirement: After a user logs in with sudo, each of the commands executed by the user should be logged either in syslog or a seperate log file. &lt;BR /&gt;&lt;BR /&gt;I checked thru lot of forum posts but could not find a working response.&lt;BR /&gt;&lt;BR /&gt;sudoers file listed below&lt;BR /&gt;#########################################&lt;BR /&gt;# Host alias specification&lt;BR /&gt;&lt;BR /&gt;# User alias specification&lt;BR /&gt;&lt;BR /&gt;# Cmnd alias specification&lt;BR /&gt;&lt;BR /&gt;# Defaults specification&lt;BR /&gt;&lt;BR /&gt;Defaults logfile=/var/run/sudo/sudo.log&lt;BR /&gt;&lt;BR /&gt;# Runas alias specification&lt;BR /&gt;&lt;BR /&gt;# User privilege specification&lt;BR /&gt;root    ALL=(ALL) SETENV: ALL&lt;BR /&gt;&lt;BR /&gt;# Uncomment to allow people in group wheel to run all commands&lt;BR /&gt;# and set environment variables.&lt;BR /&gt;# %wheel        ALL=(ALL) SETENV: ALL&lt;BR /&gt;&lt;BR /&gt;# Same thing without a password&lt;BR /&gt;# %wheel        ALL=(ALL) NOPASSWD: SETENV: ALL&lt;BR /&gt;&lt;BR /&gt;# Samples&lt;BR /&gt;# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom&lt;BR /&gt;# %users  localhost=/sbin/shutdown -h now&lt;BR /&gt;stony  bkpsvr=/usr/bin/rlogin,/usr/lbin/remshd,/usr/sbin/cmviewcl, /usr/sbin/cmviewcl -v, /usr/sbin/dmesg, /usr/sbin/vxdmpadm listctlr all, /&lt;BR /&gt;usr/sbin/sam, /usr/sbin/swinstall, /opt/contrib/bin/nickel, /usr/bin/gsp, /sbin/ioscan, /opt/ignite/bin/make_tape_recovery&lt;BR /&gt;&lt;BR /&gt;############################################&lt;BR /&gt;&lt;BR /&gt;contents of the log file generate /var/run/sudo/sudo.log&lt;BR /&gt;&lt;BR /&gt;###########################################&lt;BR /&gt;root@bkpsvr#cat /var/run/sudo/sudo.log&lt;BR /&gt;May 25 12:52:12 : stony : HOST=bkpsvr : TTY=pts/tb ; PWD=/home/stony ; USER=root&lt;BR /&gt;    ; COMMAND=/usr/bin/rlogin bkpsvr&lt;BR /&gt;May 25 13:07:26 : hpce : HOST=bkpsvr : TTY=pts/1 ; PWD=/home/stony ; USER=root&lt;BR /&gt;    ; COMMAND=/bin/rlogin bkpsvr&lt;BR /&gt;&lt;BR /&gt;###########################################&lt;BR /&gt;&lt;BR /&gt;The log file only lists the timestamp when I tried to run a command. &lt;BR /&gt;&lt;BR /&gt;What I want sudo is to tell me, what command was executed eg cmviewcl / swlist etc.&lt;BR /&gt;&lt;BR /&gt;What option should be included to enable detailed logging. &lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Mon, 25 May 2009 07:39:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425915#M355013</guid>
      <dc:creator>stony_2</dc:creator>
      <dc:date>2009-05-25T07:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO: Detailed commad logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425916#M355014</link>
      <description>Hello Stony,&lt;BR /&gt;you can get detail logs in same file /var/adm/syslog/syslog.log&lt;BR /&gt;however you should check the logfile location through&lt;BR /&gt;visudo&lt;BR /&gt;and see if the logfile= option has been set. As mentioned, the syslog file (/var/adm/syslog/syslog.log) file will have the details, but check /etc/syslog.conf for syslog options too.&lt;BR /&gt;&lt;BR /&gt;thanks,</description>
      <pubDate>Mon, 25 May 2009 07:57:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425916#M355014</guid>
      <dc:creator>avizen9</dc:creator>
      <dc:date>2009-05-25T07:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO: Detailed commad logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425917#M355015</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;sudo already logs commands.check COMMAND line in log.  just it does not log directions ( &amp;gt; ) &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 May 2009 08:24:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425917#M355015</guid>
      <dc:creator>Kenan Erdey</dc:creator>
      <dc:date>2009-05-25T08:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO: Detailed commad logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425918#M355016</link>
      <description>Hi Stony,&lt;BR /&gt;&lt;BR /&gt;the log option we use is &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Defaults syslog=auth&lt;BR /&gt;Defaults log_year,logfile=/var/adm/syslog/sudo.log&lt;BR /&gt;Defaults !set_logname&lt;BR /&gt;&lt;BR /&gt;THis will give almost the same output like yours  with year &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;What I want sudo is to tell me, what command was executed eg cmviewcl / swlist etc.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Your log file  showing the command executed !!!&lt;BR /&gt;&lt;BR /&gt;###########################################&lt;BR /&gt;root@bkpsvr#cat /var/run/sudo/sudo.log&lt;BR /&gt;May 25 12:52:12 : stony : HOST=bkpsvr : TTY=pts/tb ; PWD=/home/stony ; USER=root&lt;BR /&gt;; COMMAND=/usr/bin/rlogin bkpsvr&lt;BR /&gt;May 25 13:07:26 : hpce : HOST=bkpsvr : TTY=pts/1 ; PWD=/home/stony ; USER=root&lt;BR /&gt;; COMMAND=/bin/rlogin bkpsvr&lt;BR /&gt;&lt;BR /&gt;###########################################&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;The log file only lists the timestamp when I tried to run a command. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks!!&lt;BR /&gt;Johnson</description>
      <pubDate>Mon, 25 May 2009 09:26:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425918#M355016</guid>
      <dc:creator>johnsonpk</dc:creator>
      <dc:date>2009-05-25T09:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO: Detailed commad logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425919#M355017</link>
      <description>Hi John&lt;BR /&gt;&lt;BR /&gt;You gave the information &lt;BR /&gt;the log option we use is &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Defaults syslog=auth &lt;BR /&gt;Defaults log_year,logfile=/var/adm/syslog/sudo.log &lt;BR /&gt;Defaults !set_logname &lt;BR /&gt;&lt;BR /&gt;Where is that file???&lt;BR /&gt;&lt;BR /&gt;In my server there is no file like var/run/sudo/sudo.log&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sunny&lt;BR /&gt;</description>
      <pubDate>Mon, 25 May 2009 10:46:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425919#M355017</guid>
      <dc:creator>Sunny123_1</dc:creator>
      <dc:date>2009-05-25T10:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO: Detailed commad logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425920#M355018</link>
      <description>Hi Tony,&lt;BR /&gt;&lt;BR /&gt;I guess i didnt get u correctly :-(&lt;BR /&gt;&lt;BR /&gt;the log option should be  included in th sudoers file using visudo&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;your below statement confusing me ..&lt;BR /&gt;&lt;BR /&gt;********************************&lt;BR /&gt;Stony &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;############################################&lt;BR /&gt;&lt;BR /&gt;contents of the log file generate /var/run/sudo/sudo.log&lt;BR /&gt;&lt;BR /&gt;###########################################&lt;BR /&gt;root@bkpsvr#cat /var/run/sudo/sudo.log&lt;BR /&gt;May 25 12:52:12 : stony : HOST=bkpsvr : TTY=pts/tb ; PWD=/home/stony ; USER=root&lt;BR /&gt;; COMMAND=/usr/bin/rlogin bkpsvr&lt;BR /&gt;May 25 13:07:26 : hpce : HOST=bkpsvr : TTY=pts/1 ; PWD=/home/stony ; USER=root&lt;BR /&gt;; COMMAND=/bin/rlogin bkpsvr&lt;BR /&gt;&lt;BR /&gt;###########################################&lt;BR /&gt;&lt;BR /&gt;The log file only lists the timestamp when I tried to run a command. &lt;BR /&gt;&lt;BR /&gt;What I want sudo is to tell me, what command was executed eg cmviewcl / swlist etc.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;stony&amp;gt;&amp;gt;In my server there is no file like var/run/sudo/sudo.log&lt;BR /&gt;********************************************&lt;BR /&gt;&lt;BR /&gt;Now you are saying the yo could not find the&lt;BR /&gt;var/run/sudo/sudo.log file ..then from where did you get the log  ???(see your first post)&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Johnson&lt;BR /&gt;</description>
      <pubDate>Mon, 25 May 2009 11:00:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425920#M355018</guid>
      <dc:creator>johnsonpk</dc:creator>
      <dc:date>2009-05-25T11:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO: Detailed commad logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425921#M355019</link>
      <description>&lt;!--!*#--&gt;hi stony,&lt;BR /&gt;&lt;BR /&gt;just type visudo at the prompt:&lt;BR /&gt;&lt;BR /&gt;# visudo&lt;BR /&gt;&lt;BR /&gt;you will be presented a vi-like editor which edits the /etc/sudoers file.&lt;BR /&gt;There should be some lines like:&lt;BR /&gt;&lt;BR /&gt;Defaults syslog=auth&lt;BR /&gt;Defaults log_year,logfile=/var/adm/syslog/sudo.log&lt;BR /&gt;Defaults !set_logname &lt;BR /&gt;&lt;BR /&gt;If you cannot find these then insert.&lt;BR /&gt;After that you'll find the logfile here:&lt;BR /&gt;&lt;BR /&gt;/var/adm/syslog/sudo.log</description>
      <pubDate>Tue, 26 May 2009 10:07:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425921#M355019</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2009-05-26T10:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO: Detailed commad logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425922#M355020</link>
      <description>I'm a little confused by your requirements.  It appears that sudo is logging the "rlogin" as requested.&lt;BR /&gt;&lt;BR /&gt;if what you are asking is "How do I make the sudo log record all commands entered once the rlogin is accepted?" I believe the answer is "You don't".  &lt;BR /&gt;&lt;BR /&gt;Sudo will log the command presented to it...subsequent commands are executed by regular shells.&lt;BR /&gt;&lt;BR /&gt;There used to be a "sudosh" package that had keystroke logging, but it appears not to have been active in a long time.&lt;BR /&gt;&lt;BR /&gt;Commercial products, such as PowerBroker from Symark offer that capability as well, but I find their playback facilities of limited utility.</description>
      <pubDate>Tue, 26 May 2009 12:27:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425922#M355020</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-05-26T12:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO: Detailed commad logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425923#M355021</link>
      <description>Thankyou all for responding to my query. The last response from 'Oldschool' is correct.&lt;BR /&gt;On closer analysis of my sudo configuration, i find that sudo logs my attempt to rlogin while rest of the commands is being run by the subshell. &lt;BR /&gt;&lt;BR /&gt;Thanks 'old School' for your observation. &lt;BR /&gt;&lt;BR /&gt;An additional query -- Apart from the commercial products, can we configure command logging for all user activity in syslog.&lt;BR /&gt;&lt;BR /&gt;I will not mind scanning the syslog once in a day to find if someone is acting smart.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 May 2009 10:30:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425923#M355021</guid>
      <dc:creator>stony_2</dc:creator>
      <dc:date>2009-05-27T10:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO: Detailed commad logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425924#M355022</link>
      <description>&amp;gt;&amp;gt; An additional query -- Apart from the commercial products, can we configure command logging for all user activity in syslog.&lt;BR /&gt;&lt;BR /&gt;This is a very popular request.  Unfortunately, the answer is no.  The only logging available for individuals user's commands is their shell history file, which WILL show you all the commands they entered, but will NOT have any date/time stamps, and CAN be altered by the user them selves (since they have to have write permissions, obviously) to hide their tracks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 27 May 2009 10:41:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425924#M355022</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2009-05-27T10:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO: Detailed commad logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425925#M355023</link>
      <description>There is a sudosh2 project that's trying to update sudosh, and EAS was written by the sudosh author as a successor to sudosh. EAS was quickly bought by some company and they made every effort to remove all traces of it from the web, but it's still around on archives.</description>
      <pubDate>Wed, 27 May 2009 15:35:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425925#M355023</guid>
      <dc:creator>Heironimus</dc:creator>
      <dc:date>2009-05-27T15:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO: Detailed commad logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425926#M355024</link>
      <description>&amp;gt;&amp;gt; An additional query -- Apart from the commercial products, can we configure command logging for all user activity in syslog.&lt;BR /&gt;&lt;BR /&gt;you could just try and set up auditing:&lt;BR /&gt;&lt;BR /&gt;"The purpose of the HP-UX Auditing System is to record security relevant events for analysis. This information helps you detect repeated attempts to breach security."&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5991-1101/ch08s03.html" target="_blank"&gt;http://docs.hp.com/en/5991-1101/ch08s03.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 May 2009 16:33:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425926#M355024</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2009-05-27T16:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO: Detailed commad logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425927#M355025</link>
      <description>Victor,&lt;BR /&gt;&lt;BR /&gt;If a users gets hold of a root equivalent shell, it is very easy to circumvent auditing by turning it off and mangling the audit records to hide one's activities. On a tightly controlled system, auditing works (at the expense of disk space) until the first root account breach takes place. After that, all bets are off.&lt;BR /&gt;&lt;BR /&gt;Unfortunately, other than powerbroker, which is an expensive piece of software to start with, there is no solution to this problem.</description>
      <pubDate>Wed, 27 May 2009 17:28:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425927#M355025</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-05-27T17:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO: Detailed commad logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425928#M355026</link>
      <description>OK, with a zero UID you can make anything, but auditing is much more precise as watching into the HISTORY files...</description>
      <pubDate>Wed, 27 May 2009 18:29:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425928#M355026</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2009-05-27T18:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO: Detailed commad logging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425929#M355027</link>
      <description>Hi Stony,&lt;BR /&gt;&lt;BR /&gt;You check the user history file,&lt;BR /&gt;/home/user/.sh_history &lt;BR /&gt;&lt;BR /&gt;Also, check is there any history fikle set for the user. After switching to sudo you can just do,&lt;BR /&gt;()&amp;gt; echo $HISTFILE&lt;BR /&gt;      //.HISTORY/.sh_history_vijayaru     &lt;BR /&gt;&lt;BR /&gt;Under //.HISTORY/ each user will be having an unique history files. Here .sh_history_vijayaru for the user vijayaru. All the commands you do, will be logged in this file. &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Arun Vijay</description>
      <pubDate>Sun, 31 May 2009 11:28:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-detailed-commad-logging/m-p/4425929#M355027</guid>
      <dc:creator>Arun Vijay V C</dc:creator>
      <dc:date>2009-05-31T11:28:12Z</dc:date>
    </item>
  </channel>
</rss>

