<?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: Server root access issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/server-root-access-issue/m-p/3768450#M260784</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There is no need for them to know the root password. If you implement sudo they can become root and perform there work.&lt;BR /&gt;When implementing sudo you also need to modify the /etc/profile so that you can keep track of what they are doing.&lt;BR /&gt;if [ `whoami` = "root" ]&lt;BR /&gt;then&lt;BR /&gt;   export HISTFILE=~/.hist.sa.`logname`&lt;BR /&gt;else&lt;BR /&gt;   export HISTFILE=~/.hist.`logname`&lt;BR /&gt;fi&lt;BR /&gt;But keep in mind that the history file isn't keeping track of when a command was executed.&lt;BR /&gt;&lt;BR /&gt;GoodLuck&lt;BR /&gt;&lt;BR /&gt;Darrel</description>
    <pubDate>Sun, 09 Apr 2006 03:28:08 GMT</pubDate>
    <dc:creator>Darrel Louis</dc:creator>
    <dc:date>2006-04-09T03:28:08Z</dc:date>
    <item>
      <title>Server root access issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-root-access-issue/m-p/3768448#M260782</link>
      <description>Hi,&lt;BR /&gt;In my origination there is three system admin and every one has root password, I want to know that how many times they are accessing the system and what commands they are running on system becz the server is very critical. How can we track it ???&lt;BR /&gt;&lt;BR /&gt;Please help me if possible......&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Bhupal Singh</description>
      <pubDate>Sat, 08 Apr 2006 20:46:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-root-access-issue/m-p/3768448#M260782</guid>
      <dc:creator>bhupals</dc:creator>
      <dc:date>2006-04-08T20:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Server root access issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-root-access-issue/m-p/3768449#M260783</link>
      <description>Shalom Bhupal,&lt;BR /&gt;&lt;BR /&gt;Few ideas:&lt;BR /&gt;&lt;BR /&gt;1) User is forced to log on as him/her self and then su - root. The logging is done to a different file based on who am i output&lt;BR /&gt;&lt;BR /&gt;# in profile&lt;BR /&gt;H1=$(who am i | awk '{print $1}')&lt;BR /&gt;HISTFILE=".sh_history${H1}"&lt;BR /&gt;&lt;BR /&gt;This gives a different file depending on what the originating user is.&lt;BR /&gt;&lt;BR /&gt;To make this work, you MUST disable direct root login.&lt;BR /&gt;&lt;BR /&gt;2) Several user id's with id zero that have their own home directories and  HISTFILE (s).&lt;BR /&gt;This is a security problem and even though we do it where I work,I'd go for option 1.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 09 Apr 2006 01:16:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-root-access-issue/m-p/3768449#M260783</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-04-09T01:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Server root access issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/server-root-access-issue/m-p/3768450#M260784</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There is no need for them to know the root password. If you implement sudo they can become root and perform there work.&lt;BR /&gt;When implementing sudo you also need to modify the /etc/profile so that you can keep track of what they are doing.&lt;BR /&gt;if [ `whoami` = "root" ]&lt;BR /&gt;then&lt;BR /&gt;   export HISTFILE=~/.hist.sa.`logname`&lt;BR /&gt;else&lt;BR /&gt;   export HISTFILE=~/.hist.`logname`&lt;BR /&gt;fi&lt;BR /&gt;But keep in mind that the history file isn't keeping track of when a command was executed.&lt;BR /&gt;&lt;BR /&gt;GoodLuck&lt;BR /&gt;&lt;BR /&gt;Darrel</description>
      <pubDate>Sun, 09 Apr 2006 03:28:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/server-root-access-issue/m-p/3768450#M260784</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2006-04-09T03:28:08Z</dc:date>
    </item>
  </channel>
</rss>

