<?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: su: + tty?? root-root in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/su-tty-root-root/m-p/4121896#M314902</link>
    <description>And if it doesn't work you can try to write a small wrapper. Example :&lt;BR /&gt;&lt;BR /&gt;cd /usr/bin&lt;BR /&gt;&lt;BR /&gt;create a file named su_my with following lines :&lt;BR /&gt;&lt;BR /&gt;echo "=======" &amp;gt;&amp;gt;/tmp/su.log&lt;BR /&gt;echo "this process is $$" &amp;gt;&amp;gt;/tmp/su.log&lt;BR /&gt;echo "calling processe is $PPID" &amp;gt;&amp;gt;/tmp/su.log&lt;BR /&gt;exec /usr/bin/su_ok "$@"&lt;BR /&gt;&lt;BR /&gt;then modify owner and permissions :&lt;BR /&gt;&lt;BR /&gt;chown root:bin su_my&lt;BR /&gt;chmod 4555 su_my&lt;BR /&gt;&lt;BR /&gt;then change names :&lt;BR /&gt;&lt;BR /&gt;mv su su_ok&lt;BR /&gt;mv su_my su&lt;BR /&gt;&lt;BR /&gt;As soon as you have trapped valuable informations in /tmp/su.log, don't forget to return to a "normal" situation :&lt;BR /&gt;&lt;BR /&gt;mv su su_my&lt;BR /&gt;mv su_ok su&lt;BR /&gt;&lt;BR /&gt;Hope this will help&lt;BR /&gt;&lt;BR /&gt;Eric&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 28 Dec 2007 13:40:59 GMT</pubDate>
    <dc:creator>Eric SAUBIGNAC</dc:creator>
    <dc:date>2007-12-28T13:40:59Z</dc:date>
    <item>
      <title>su: + tty?? root-root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-tty-root-root/m-p/4121892#M314898</link>
      <description>I've found several entries in the syslog, but unable to pinpoint where the jobs are coming from. They are being run twice every 20mins. There is nothing running in the cron.&lt;BR /&gt;&lt;BR /&gt;Syslog:&lt;BR /&gt;Dec 28 12:01:25 ch*** su: + tty?? root-root&lt;BR /&gt;Dec 28 12:13:55 ch*** su: + tty?? root-root&lt;BR /&gt;Dec 28 12:14:03 ch***  above message repeats 50 times&lt;BR /&gt;Dec 28 12:14:09 ch*** su: + tty?? root-root&lt;BR /&gt;Dec 28 12:33:54 ch*** su: + tty?? root-root&lt;BR /&gt;Dec 28 12:34:03 ch***  above message repeats 79 times&lt;BR /&gt;Dec 28 12:34:10 ch*** su: + tty?? root-root&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sulog:&lt;BR /&gt;&lt;BR /&gt;ch***:/usr/lib/sa: tail /var/adm/sulog&lt;BR /&gt;SU 12/28 12:36 + tty?? root-root&lt;BR /&gt;SU 12/28 12:36 + tty?? root-root&lt;BR /&gt;SU 12/28 12:36 + tty?? root-root&lt;BR /&gt;SU 12/28 12:37 + tty?? root-root&lt;BR /&gt;SU 12/28 12:37 + tty?? root-root&lt;BR /&gt;SU 12/28 12:37 + tty?? root-root&lt;BR /&gt;SU 12/28 12:37 + tty?? root-root&lt;BR /&gt;SU 12/28 12:38 + tty?? root-root&lt;BR /&gt;SU 12/28 12:38 + tty?? root-root&lt;BR /&gt;SU 12/28 12:38 + tty?? root-root&lt;BR /&gt;&lt;BR /&gt;Not sure to look. Need to know where these are coming from&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Dec 2007 12:39:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-tty-root-root/m-p/4121892#M314898</guid>
      <dc:creator>N.D</dc:creator>
      <dc:date>2007-12-28T12:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: su: + tty?? root-root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-tty-root-root/m-p/4121893#M314899</link>
      <description>&amp;gt;They are being run twice every 20mins&lt;BR /&gt;&lt;BR /&gt;What is run twice?&lt;BR /&gt;I see 3 - 4 messages a minute in sulog.&lt;BR /&gt;And about 4 per minute for syslog.&lt;BR /&gt;The "+" indicates each su(1) is successful.&lt;BR /&gt;Perhaps that "tty???" means there is no tty.&lt;BR /&gt;I'm not sure what "root-root" means??&lt;BR /&gt;You might try su from root to some other user and then see what is logged.</description>
      <pubDate>Fri, 28 Dec 2007 12:57:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-tty-root-root/m-p/4121893#M314899</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-12-28T12:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: su: + tty?? root-root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-tty-root-root/m-p/4121894#M314900</link>
      <description>Actually they are running many times.&lt;BR /&gt;&lt;BR /&gt;Basically it looks like a script/job already run as root is then trying to su to root, &lt;BR /&gt;&lt;BR /&gt;For example I am looged on as root and I tried su-ing to root and the following showed up in the syslog:&lt;BR /&gt;&lt;BR /&gt;Dec 28 13:04:51 ch*** su: + ttyrc nd-root&lt;BR /&gt;&lt;BR /&gt;So I need to find the script/job that is trying to 'su'. We are using powerbroker so we shouldnt be 'su-ing'.&lt;BR /&gt;&lt;BR /&gt;Previuosly this has caused the accounts to be locked out.</description>
      <pubDate>Fri, 28 Dec 2007 13:09:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-tty-root-root/m-p/4121894#M314900</guid>
      <dc:creator>N.D</dc:creator>
      <dc:date>2007-12-28T13:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: su: + tty?? root-root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-tty-root-root/m-p/4121895#M314901</link>
      <description>Bonjour ND,&lt;BR /&gt;&lt;BR /&gt;I will be rather hard to find wich process is doing su, as tty?? probably means that a it comes from a daemon.&lt;BR /&gt;&lt;BR /&gt;If by chance the daemon issue "su - root" you could modify root's profile to log some environments values like PPID. That could help you to find the responsible process ...&lt;BR /&gt;&lt;BR /&gt;Eric</description>
      <pubDate>Fri, 28 Dec 2007 13:17:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-tty-root-root/m-p/4121895#M314901</guid>
      <dc:creator>Eric SAUBIGNAC</dc:creator>
      <dc:date>2007-12-28T13:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: su: + tty?? root-root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-tty-root-root/m-p/4121896#M314902</link>
      <description>And if it doesn't work you can try to write a small wrapper. Example :&lt;BR /&gt;&lt;BR /&gt;cd /usr/bin&lt;BR /&gt;&lt;BR /&gt;create a file named su_my with following lines :&lt;BR /&gt;&lt;BR /&gt;echo "=======" &amp;gt;&amp;gt;/tmp/su.log&lt;BR /&gt;echo "this process is $$" &amp;gt;&amp;gt;/tmp/su.log&lt;BR /&gt;echo "calling processe is $PPID" &amp;gt;&amp;gt;/tmp/su.log&lt;BR /&gt;exec /usr/bin/su_ok "$@"&lt;BR /&gt;&lt;BR /&gt;then modify owner and permissions :&lt;BR /&gt;&lt;BR /&gt;chown root:bin su_my&lt;BR /&gt;chmod 4555 su_my&lt;BR /&gt;&lt;BR /&gt;then change names :&lt;BR /&gt;&lt;BR /&gt;mv su su_ok&lt;BR /&gt;mv su_my su&lt;BR /&gt;&lt;BR /&gt;As soon as you have trapped valuable informations in /tmp/su.log, don't forget to return to a "normal" situation :&lt;BR /&gt;&lt;BR /&gt;mv su su_my&lt;BR /&gt;mv su_ok su&lt;BR /&gt;&lt;BR /&gt;Hope this will help&lt;BR /&gt;&lt;BR /&gt;Eric&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Dec 2007 13:40:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-tty-root-root/m-p/4121896#M314902</guid>
      <dc:creator>Eric SAUBIGNAC</dc:creator>
      <dc:date>2007-12-28T13:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: su: + tty?? root-root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-tty-root-root/m-p/4121897#M314903</link>
      <description>Hi N.D.,&lt;BR /&gt;&lt;BR /&gt;What news ? Did you finally trap the process or script responsible of those su: + tty?? root-root ... ?&lt;BR /&gt;&lt;BR /&gt;Eric</description>
      <pubDate>Wed, 02 Jan 2008 12:24:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-tty-root-root/m-p/4121897#M314903</guid>
      <dc:creator>Eric SAUBIGNAC</dc:creator>
      <dc:date>2008-01-02T12:24:00Z</dc:date>
    </item>
  </channel>
</rss>

