<?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: Unknown user error with Hpux in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240181#M469604</link>
    <description>&amp;gt; /var/log is missing...&lt;BR /&gt; &lt;BR /&gt;This is not an HP-UX directory. It looks like  the sudoers file contains a logfile directive that came from a Linux system.</description>
    <pubDate>Tue, 18 May 2010 12:05:16 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2010-05-18T12:05:16Z</dc:date>
    <item>
      <title>Unknown user error with Hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240168#M469591</link>
      <description>Hi,&lt;BR /&gt;Any suggestion, I keep having User unknown error whenever I tried to switch to root in hpux. See details below.&lt;BR /&gt;$ su -&lt;BR /&gt;dbadum... User unknown&lt;BR /&gt;D060AHE... User unknown&lt;BR /&gt;cannot open /no/such/directory/dead.letter: No such file or directory&lt;BR /&gt;gbaheq01:/ #&lt;BR /&gt;&lt;BR /&gt;Based on the suggestion from the forum, I have done the following:&lt;BR /&gt;# chmod go-w / /etc /etc/mail /var /var/spool /var/spool/mqueue &lt;BR /&gt;# chown root / /etc /etc/mail &lt;BR /&gt;and also &lt;BR /&gt;# vi /etc/mail/sendmail.cf &lt;BR /&gt;(and add right after the line #O DontBlameSendmail=safe) &lt;BR /&gt;O DontBlameSendmail=safe&lt;BR /&gt;But the error is still there. Any suggestion will be appreciated.&lt;BR /&gt;</description>
      <pubDate>Mon, 17 May 2010 06:50:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240168#M469591</guid>
      <dc:creator>oza</dc:creator>
      <dc:date>2010-05-17T06:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown user error with Hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240169#M469592</link>
      <description>&lt;BR /&gt;any  scripts in /.profiole ???&lt;BR /&gt;&lt;BR /&gt;what is "su root" output ??&lt;BR /&gt;&lt;BR /&gt;same error or anything else ??&lt;BR /&gt;&lt;BR /&gt;Gudluck&lt;BR /&gt;Prasanth</description>
      <pubDate>Mon, 17 May 2010 07:12:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240169#M469592</guid>
      <dc:creator>Prasanth V Aravind</dc:creator>
      <dc:date>2010-05-17T07:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown user error with Hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240170#M469593</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;What do these commands show:&lt;BR /&gt;&lt;BR /&gt;# pwck&lt;BR /&gt;&lt;BR /&gt;# grpck&lt;BR /&gt;&lt;BR /&gt;# /usr/lib/sendmail -bv root&lt;BR /&gt;&lt;BR /&gt;# tail /var/adm/syslog/mail.log&lt;BR /&gt;&lt;BR /&gt;# tail /var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;Also, can an ordinary user read the password&lt;BR /&gt;file (permissions 444 or 644)?&lt;BR /&gt;&lt;BR /&gt;Is your su(1M) command really the one&lt;BR /&gt;that comes with the OS (in trusted&lt;BR /&gt;PATH)? I get very nervous when users&lt;BR /&gt;run "su -". I strongly recommend:&lt;BR /&gt;&lt;BR /&gt;/bin/su - root&lt;BR /&gt;&lt;BR /&gt;Corrupt pwgrd(1M) password and group&lt;BR /&gt;hashing and caching daemon can create funny&lt;BR /&gt;errors.&lt;BR /&gt;&lt;BR /&gt;Well, we can come up with more ideas,&lt;BR /&gt;but lets see what the ebove commands reveal.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Mon, 17 May 2010 07:17:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240170#M469593</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2010-05-17T07:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown user error with Hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240171#M469594</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It seems like you are using a customised su command.Normally if you are doing su - from a normal user it should prompt for root account password.&lt;BR /&gt;&lt;BR /&gt;Post this:-&lt;BR /&gt;#file `which su`&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;which &lt;BR /&gt;Aneesh</description>
      <pubDate>Mon, 17 May 2010 08:16:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240171#M469594</guid>
      <dc:creator>Aneesh Mohan</dc:creator>
      <dc:date>2010-05-17T08:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown user error with Hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240172#M469595</link>
      <description>There are scripts in /.profile and the error is the same when I run "su root"&lt;BR /&gt;The permission on the password file is 644&lt;BR /&gt;The users that run su â   are define in the /etc/sudoers file&lt;BR /&gt;&lt;BR /&gt;gbaheq01:/bin # cat su&lt;BR /&gt;/usr/local/bin/sudo su.original "$@"&lt;BR /&gt;&lt;BR /&gt;The output is attached.&lt;BR /&gt;</description>
      <pubDate>Mon, 17 May 2010 09:02:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240172#M469595</guid>
      <dc:creator>oza</dc:creator>
      <dc:date>2010-05-17T09:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown user error with Hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240173#M469596</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Start with correcting these errors:&lt;BR /&gt;&lt;BR /&gt;a) Invalid Unix accounts:&lt;BR /&gt;&lt;BR /&gt;G495AHE:*:1186:20:Venkata Nareshbabu:/home/G495AHE:/bin/bash&lt;BR /&gt;        Optional shell file not found&lt;BR /&gt;&lt;BR /&gt;H184AHE:*:335:20:Emma Sevar:/home/H184AHE:/usr/bin/sh&lt;BR /&gt;        Login directory not found&lt;BR /&gt;&lt;BR /&gt;Y069AHE:*:340:20:Ed Tanner:/home/Y069AHE:/usr/bin/sh&lt;BR /&gt;        Login directory not found&lt;BR /&gt;&lt;BR /&gt;D080AHE:*:345:20:Scott Rumbold:/home/D080AHE:/usr/bin/sh&lt;BR /&gt;        Login directory not found&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;b) Non-existent email alias or address dbadum:&lt;BR /&gt;&lt;BR /&gt;May 17 10:02:32 gbaheq01 sendmail[23440]: KAA23440: to=dbadum, delay=00:00:00, mailer=local, stat=User unknown&lt;BR /&gt;May 17 10:02:32 gbaheq01 sendmail[23440]: KAA23440: from=D060AHE, size=183, class=0, pri=30183, nrcpts=1, msgid=&amp;lt;201005170902.KAA23440@gbah      eq01.gb.tntpost.com&amp;gt;, relay=root@localhost&lt;BR /&gt;May 17 10:02:32 gbaheq01 sendmail[23440]: KAA23440: to=D060AHE, delay=00:00:00, mailer=local, stat=User unknown&lt;BR /&gt;&lt;BR /&gt;c) If you allow user to execute su(1M) without SUDO, what happens:&lt;BR /&gt;&lt;BR /&gt;# /bin/su - root&lt;BR /&gt;&lt;BR /&gt;If you get the same error, then your root's profile is funny.&lt;BR /&gt;&lt;BR /&gt;Let's see what happens next.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT&lt;BR /&gt;</description>
      <pubDate>Mon, 17 May 2010 09:44:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240173#M469596</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2010-05-17T09:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown user error with Hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240174#M469597</link>
      <description>is password file copied from another system.???</description>
      <pubDate>Mon, 17 May 2010 10:23:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240174#M469597</guid>
      <dc:creator>singh sanjeev</dc:creator>
      <dc:date>2010-05-17T10:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown user error with Hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240175#M469598</link>
      <description>&amp;gt;&amp;gt; The users that run su Ã¢Â Â  are define in the /etc/sudoers file&lt;BR /&gt; &lt;BR /&gt;The sudoers file is for the sudo command and has nothing to do with su. Im fact, if you have sudo installed, you should not be using su at all.  Your system administrator probably installed sudo for security and reliability. Is there a reason that you don't use it?&lt;BR /&gt; &lt;BR /&gt;And as noted in the errors reported by the pwck command, there is no /bin/bash on your system. If it has been installed, change the shells for the users with /bin/bash to the correct path (hint: chsh command).&lt;BR /&gt; &lt;BR /&gt;As far as the errors during su - logins, you'll have to turn on shell tracing in /etc/profile and root's .profile to locate which commands are producing the errors and fix each one.</description>
      <pubDate>Mon, 17 May 2010 11:39:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240175#M469598</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-05-17T11:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown user error with Hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240176#M469599</link>
      <description>The error from the pwck has been corrected. How do I correct the dbadum... User unknown error. &lt;BR /&gt;How do I turn on shell tracing in /etc/profile and root's .profile to locate which commands are producing the errors and fix each one.&lt;BR /&gt;&lt;BR /&gt;cheers</description>
      <pubDate>Mon, 17 May 2010 13:43:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240176#M469599</guid>
      <dc:creator>oza</dc:creator>
      <dc:date>2010-05-17T13:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown user error with Hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240177#M469600</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Put this line at the beginning og "/etc/profile" and ".profile"&lt;BR /&gt;&lt;BR /&gt;set -x&lt;BR /&gt;&lt;BR /&gt;You will see the result of the execution of each command in these files.&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Mon, 17 May 2010 13:50:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240177#M469600</guid>
      <dc:creator>R.O.</dc:creator>
      <dc:date>2010-05-17T13:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown user error with Hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240178#M469601</link>
      <description>It looks like it's due to a missing directory on the server, which is preventing sudo from logging properly.  As sudo can't write to a log, it is trying to send an email alert, and for some reason, it is trying to send them to an ID of "dbadum" which doesn't exist on the server.&lt;BR /&gt;I've now created /var/log, and have been able to su to root without getting the errors.&lt;BR /&gt;Thnaks for all your contribution.</description>
      <pubDate>Tue, 18 May 2010 08:04:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240178#M469601</guid>
      <dc:creator>oza</dc:creator>
      <dc:date>2010-05-18T08:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown user error with Hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240179#M469602</link>
      <description>I've now created /var/log, and have been able to su to root without getting the errors.</description>
      <pubDate>Tue, 18 May 2010 08:06:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240179#M469602</guid>
      <dc:creator>oza</dc:creator>
      <dc:date>2010-05-18T08:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown user error with Hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240180#M469603</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Good to see your problem is gone.&lt;BR /&gt;&lt;BR /&gt;As a token of appreciation, you could assign&lt;BR /&gt;some points to the people who tried to&lt;BR /&gt;help you in this forum.&lt;BR /&gt;&lt;BR /&gt;A nice word and kind attitude go a long way&lt;BR /&gt;in human relationships.&lt;BR /&gt; &lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT&lt;BR /&gt;</description>
      <pubDate>Tue, 18 May 2010 08:22:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240180#M469603</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2010-05-18T08:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown user error with Hpux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240181#M469604</link>
      <description>&amp;gt; /var/log is missing...&lt;BR /&gt; &lt;BR /&gt;This is not an HP-UX directory. It looks like  the sudoers file contains a logfile directive that came from a Linux system.</description>
      <pubDate>Tue, 18 May 2010 12:05:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-user-error-with-hpux/m-p/5240181#M469604</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-05-18T12:05:16Z</dc:date>
    </item>
  </channel>
</rss>

