<?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 Re: user session logs in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253158#M331763</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;We are under SOX and still allowed to login under root. Hmmm.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/?p=19" target="_blank"&gt;http://www.hpux.ws/?p=19&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;That can create key exchange only root access system to system and comply with your auditors interpretation of SOX&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Mon, 18 Aug 2008 14:45:18 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2008-08-18T14:45:18Z</dc:date>
    <item>
      <title>user session logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253146#M331751</link>
      <description>Because of SOX, we are no longer able to login as user root. However, the other sys admin and I login as our usernames and then su to the root account to perform most of our work. We use a SSH terminal session to login. Is there a way to prevent the root account from logging in this manner. I wouls like to give a screenshot to the suditors to prove we are no longer logging in with the root account. They say it is okay that we su to the account. Also  am looking in to the logs from user sessions and when I su to root, it logs a login, so I am not sure how to prove that we are no longer loggin in.</description>
      <pubDate>Fri, 15 Aug 2008 13:28:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253146#M331751</guid>
      <dc:creator>Michael G Jaynes</dc:creator>
      <dc:date>2008-08-15T13:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: user session logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253147#M331752</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Install SUDO software and configure the super user access to various accounts on sudo configuration file using "visudo".&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Aneesh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Aug 2008 13:41:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253147#M331752</guid>
      <dc:creator>Aneesh Mohan</dc:creator>
      <dc:date>2008-08-15T13:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: user session logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253148#M331753</link>
      <description>In /var/adm/syslog/syslog.log you can see who is switching users.  For example, when I su to root I get an entry like this:&lt;BR /&gt;&lt;BR /&gt;Aug 15 10:29:07 freddub su: + tZ matt-root&lt;BR /&gt;&lt;BR /&gt;That shows that user "matt" is switching to "root," and not logging in directly.</description>
      <pubDate>Fri, 15 Aug 2008 13:41:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253148#M331753</guid>
      <dc:creator>candlejack</dc:creator>
      <dc:date>2008-08-15T13:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: user session logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253149#M331754</link>
      <description>Hi Michal&lt;BR /&gt;Check the su log the path is /var/adm/sulog&lt;BR /&gt;also check user history file which will be in his /home directory.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Atul</description>
      <pubDate>Fri, 15 Aug 2008 14:10:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253149#M331754</guid>
      <dc:creator>Prashanth Waugh</dc:creator>
      <dc:date>2008-08-15T14:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: user session logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253150#M331755</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;Check the /var/adm/wtmp and /var/adm/utmp&lt;BR /&gt;for user logs&lt;BR /&gt;&lt;BR /&gt;Reagrds&lt;BR /&gt;Atul&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Aug 2008 14:15:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253150#M331755</guid>
      <dc:creator>Prashanth Waugh</dc:creator>
      <dc:date>2008-08-15T14:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: user session logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253151#M331756</link>
      <description>Try using sudo for all sysadmin tasks for which you require root level priviledges.&lt;BR /&gt;&lt;BR /&gt;Stopping root loggin whenever you switch to root id is not a good idea keeping security of box in mind.&lt;BR /&gt;&lt;BR /&gt;sudo is freely available and easy to configure ...&lt;BR /&gt;&lt;BR /&gt;regds...DK</description>
      <pubDate>Sat, 16 Aug 2008 00:32:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253151#M331756</guid>
      <dc:creator>Deepak Kr</dc:creator>
      <dc:date>2008-08-16T00:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: user session logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253152#M331757</link>
      <description>I think everyone has missed the point so far.&lt;BR /&gt;&lt;BR /&gt;To disallow root from connecting via ssh you need to modify the sshd_config file and set the option 'PermitRootLogin' to NO'.&lt;BR /&gt;&lt;BR /&gt;Information available here:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5992-4213/apas02.html#v1229989" target="_blank"&gt;http://docs.hp.com/en/5992-4213/apas02.html#v1229989&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(Search for PermitRootLogin.  There is also a sample sshd_config file at the bottom of the page.)&lt;BR /&gt;</description>
      <pubDate>Sat, 16 Aug 2008 02:42:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253152#M331757</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2008-08-16T02:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: user session logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253153#M331758</link>
      <description>Patricks hit the nail on the head.&lt;BR /&gt;&lt;BR /&gt;In my last role we had to implement the same thing for SOX, you might well find that an auditor will come to keep you company while you run through a set of tasks for them.&lt;BR /&gt;&lt;BR /&gt;We also had to run a script they gave us which checked system security. &lt;BR /&gt;&lt;BR /&gt;At least that was the case the last 3 audits i had to deal with.</description>
      <pubDate>Sat, 16 Aug 2008 10:24:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253153#M331758</guid>
      <dc:creator>George_Dodds</dc:creator>
      <dc:date>2008-08-16T10:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: user session logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253154#M331759</link>
      <description>Thanks Patrick. That is exactly what I was looking for.</description>
      <pubDate>Mon, 18 Aug 2008 14:18:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253154#M331759</guid>
      <dc:creator>Michael G Jaynes</dc:creator>
      <dc:date>2008-08-18T14:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: user session logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253155#M331760</link>
      <description>However I do not have that file at the path specified. I have 4 of them. Is the path different if I am on HP-UX 11.23?</description>
      <pubDate>Mon, 18 Aug 2008 14:31:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253155#M331760</guid>
      <dc:creator>Michael G Jaynes</dc:creator>
      <dc:date>2008-08-18T14:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: user session logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253156#M331761</link>
      <description>My sshd_config file is in /etc/opt/ssh.&lt;BR /&gt;&lt;BR /&gt;Note that there is an sshd_config and an ssh_config (without the 'd').&lt;BR /&gt;&lt;BR /&gt;Details on each are available in the man pages (man ssh_config ; man sshd_config).  In a nutshell ssh_config is the client config.  sshd_config is the ssh daemon config file.</description>
      <pubDate>Mon, 18 Aug 2008 14:36:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253156#M331761</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2008-08-18T14:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: user session logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253157#M331762</link>
      <description>I see.&lt;BR /&gt;I've got &lt;BR /&gt;/opt/ssh/etc/sshd_config&lt;BR /&gt;/opt/ssh/newconfig/opt/ssh/etc/sshd_config&lt;BR /&gt;/opt/ssh/src/ssh/etc/sshd_config&lt;BR /&gt;/opt/ssh/src/ssh/sshd_config&lt;BR /&gt;&lt;BR /&gt;I am about to see if I can figure out what each is. Thanks for the help.&lt;BR /&gt;&lt;BR /&gt;Michael</description>
      <pubDate>Mon, 18 Aug 2008 14:38:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253157#M331762</guid>
      <dc:creator>Michael G Jaynes</dc:creator>
      <dc:date>2008-08-18T14:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: user session logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253158#M331763</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;We are under SOX and still allowed to login under root. Hmmm.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/?p=19" target="_blank"&gt;http://www.hpux.ws/?p=19&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;That can create key exchange only root access system to system and comply with your auditors interpretation of SOX&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 18 Aug 2008 14:45:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253158#M331763</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-08-18T14:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: user session logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253159#M331764</link>
      <description>&amp;gt;&amp;gt;/opt/ssh/etc/sshd_config&lt;BR /&gt;It should be this one.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;/opt/ssh/newconfig/opt/ssh/etc/sshd_config&lt;BR /&gt;This is a sample file.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;/opt/ssh/src/ssh/etc/sshd_config&lt;BR /&gt;&amp;gt;&amp;gt;/opt/ssh/src/ssh/sshd_config&lt;BR /&gt;Did you comple from source?  These appear to be part of the source code.&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Aug 2008 15:21:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-session-logs/m-p/4253159#M331764</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2008-08-18T15:21:53Z</dc:date>
    </item>
  </channel>
</rss>

