<?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: sudo user password does not work in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387137#M741863</link>
    <description>Hi Glenn,&lt;BR /&gt;&lt;BR /&gt;Our 'sudo' works with trusted systems. However, we compile it in house with --with-pam option.&lt;BR /&gt;&lt;BR /&gt;Do the following&lt;BR /&gt;&lt;BR /&gt;#cd /wherever_sudo_is/bin&lt;BR /&gt;#ldd sudo&lt;BR /&gt;&lt;BR /&gt;See if you see something like /usr/lib/libpam.1 =&amp;gt;    /usr/lib/libpam.1. &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Mon, 27 Sep 2004 11:34:15 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2004-09-27T11:34:15Z</dc:date>
    <item>
      <title>sudo user password does not work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387134#M741860</link>
      <description>OS: HPUX 11.11&lt;BR /&gt;System: 9000/N4000 Trusted System&lt;BR /&gt;Problem: User password is not recognised when a sudo command is executed.  &lt;BR /&gt;Sudo software was installed using default configuration and default paths/logging.  A test user was created using SAM and placed in a group called DEV. /etc/sudoers was edited with visudo with the following entry:&lt;BR /&gt;&lt;BR /&gt;%DEV  &lt;SERVER tcp=""&gt;=kill -9&lt;BR /&gt;&lt;BR /&gt;A process (top) was started under root.  The test user logged in and tried to kill -9 the PID of the top process without success.  When the test user executed the command "sudo kill -9 &lt;PID&gt;" he was asked for a password.  His user password would not work not would the root password.&lt;BR /&gt;&lt;BR /&gt;Questions:&lt;BR /&gt;1.  Does sudo work on a trusted system?&lt;BR /&gt;2.  What OS services and configurations need to be enabled to allow the user passwords to be recognised?&lt;BR /&gt;3.  How do I change the sudo greeting message when sudo commands are executed?&lt;BR /&gt;Thank you for your help.&lt;/PID&gt;&lt;/SERVER&gt;</description>
      <pubDate>Sun, 26 Sep 2004 23:00:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387134#M741860</guid>
      <dc:creator>Glenn Mitchell_2</dc:creator>
      <dc:date>2004-09-26T23:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: sudo user password does not work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387135#M741861</link>
      <description>Configuration of "%DEV &lt;SERVER tcp=""&gt;=kill -9" will not work there. Try as,&lt;BR /&gt;&lt;BR /&gt;visudo&lt;BR /&gt;&lt;USER&gt; &lt;HOSTNAME&gt;=NOPASSWD : /usr/bin/kill -9&lt;BR /&gt;&lt;BR /&gt;And try on command line as,&lt;BR /&gt;sudo kill -9 &lt;PID&gt; now&lt;BR /&gt;&lt;BR /&gt;Refer this too,&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=692212" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=692212&lt;/A&gt;&lt;/PID&gt;&lt;/HOSTNAME&gt;&lt;/USER&gt;&lt;/SERVER&gt;</description>
      <pubDate>Sun, 26 Sep 2004 23:49:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387135#M741861</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-26T23:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: sudo user password does not work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387136#M741862</link>
      <description>Thank you for your reply. But...&lt;BR /&gt;'Still no joy.&lt;BR /&gt;I used visudo to edit the /etc/sudoers file to modify the call as suggested but the sudo program still asks for a password even with NOPASSWD specified.  Could the trusted system configuration be preventing the sudo program from processing the request?</description>
      <pubDate>Mon, 27 Sep 2004 11:15:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387136#M741862</guid>
      <dc:creator>Glenn Mitchell_2</dc:creator>
      <dc:date>2004-09-27T11:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: sudo user password does not work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387137#M741863</link>
      <description>Hi Glenn,&lt;BR /&gt;&lt;BR /&gt;Our 'sudo' works with trusted systems. However, we compile it in house with --with-pam option.&lt;BR /&gt;&lt;BR /&gt;Do the following&lt;BR /&gt;&lt;BR /&gt;#cd /wherever_sudo_is/bin&lt;BR /&gt;#ldd sudo&lt;BR /&gt;&lt;BR /&gt;See if you see something like /usr/lib/libpam.1 =&amp;gt;    /usr/lib/libpam.1. &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 27 Sep 2004 11:34:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387137#M741863</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-09-27T11:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: sudo user password does not work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387138#M741864</link>
      <description>Sorry, I didn't answer your last question. Your 'sudoers' file should have "no lecture" turned on to ignore the message as below.&lt;BR /&gt;&lt;BR /&gt;Defaults !lecture&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 27 Sep 2004 11:35:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387138#M741864</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-09-27T11:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: sudo user password does not work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387139#M741865</link>
      <description>The following is displayed:&lt;BR /&gt;&lt;BR /&gt;# ldd sudo&lt;BR /&gt;/usr/lib/libc.2 =&amp;gt; /usr/lib/libc.2&lt;BR /&gt;/usr/lib/libdld.2 =&amp;gt; /usr/lib/libdld.2&lt;BR /&gt;/usr/lib/libc.2 =&amp;gt; /usr/lib/libc.2&lt;BR /&gt;/usr/lib/libsec.2 =&amp;gt; /usr/lib/libsec.2&lt;BR /&gt;/usr/lib/libm.2 =&amp;gt; /usr/lib/libm.2&lt;BR /&gt;# &lt;BR /&gt;</description>
      <pubDate>Mon, 27 Sep 2004 11:43:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387139#M741865</guid>
      <dc:creator>Glenn Mitchell_2</dc:creator>
      <dc:date>2004-09-27T11:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: sudo user password does not work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387140#M741866</link>
      <description>Means your sudo is not compiled with PAM. If compiled with PAM authentication, it will mask off trusted, shadow, regular password registry. One more test&lt;BR /&gt;&lt;BR /&gt;sudo -V |grep -i -e "password" -e "authenticat"&lt;BR /&gt;&lt;BR /&gt;And post the output.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 27 Sep 2004 12:16:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387140#M741866</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-09-27T12:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: sudo user password does not work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387141#M741867</link>
      <description>Thank you.  The sudo version I'm using is 1.6.8p1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# sudo -V | grep -i -e "password" -e "authenticat"&lt;BR /&gt;Authentication methods: 'passwd'&lt;BR /&gt;Syslog priority to use when user authenticates successfully: notice&lt;BR /&gt;Syslog priority to use when user authenticates unsuccessfully: alert&lt;BR /&gt;Require users to authenticate by default&lt;BR /&gt;Authentication timestamp timeout: 5 minutes&lt;BR /&gt;Password prompt timeout: 5 minutes&lt;BR /&gt;Number of tries to enter a password: 3&lt;BR /&gt;Incorrect password message: Sorry, try again.&lt;BR /&gt;Path to authentication timestamp dir: /var/run/sudo&lt;BR /&gt;Default password prompt: Password:&lt;BR /&gt;When to require a password for 'list' pseudocommand: any&lt;BR /&gt;When to require a password for 'verify' pseudocommand: all&lt;BR /&gt;# &lt;BR /&gt;</description>
      <pubDate>Mon, 27 Sep 2004 12:23:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387141#M741867</guid>
      <dc:creator>Glenn Mitchell_2</dc:creator>
      <dc:date>2004-09-27T12:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: sudo user password does not work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387142#M741868</link>
      <description>I recompiled sudo with PAM and it now works both with and without password entry (per individual lines in the /etc/sudoers file).  We are pleased with the security functionality this program gives - allowing our DBAs to execute application code needing root privilages - without giving them the password.  We also like the audit trail it leaves behind.&lt;BR /&gt;Thank you for your help!</description>
      <pubDate>Tue, 28 Sep 2004 13:35:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387142#M741868</guid>
      <dc:creator>Glenn Mitchell_2</dc:creator>
      <dc:date>2004-09-28T13:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: sudo user password does not work</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387143#M741869</link>
      <description>Right!&lt;BR /&gt;&lt;BR /&gt;I have just started on HP-UX, and have had 2 systems to install.&lt;BR /&gt;&lt;BR /&gt;On the initial one, I didn't notice HP supplied sudo on one of the install disks, so I got sudo provided by &lt;A href="http://gatekeep.cs.utah.edu/hppd/hpux/" target="_blank"&gt;http://gatekeep.cs.utah.edu/hppd/hpux/&lt;/A&gt; HP-UX software place.&lt;BR /&gt;&lt;BR /&gt;On the 2nd system, I got sudo from the HP supplied packages.&lt;BR /&gt;&lt;BR /&gt;So, the HP INSTALL DISKS SUPPLIED SUDO WON'T WORK OUT OF BOX. The one from gatekeep will.&lt;BR /&gt;&lt;BR /&gt;Ironic.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Aug 2005 05:02:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-user-password-does-not-work/m-p/3387143#M741869</guid>
      <dc:creator>Emils Klotins</dc:creator>
      <dc:date>2005-08-22T05:02:14Z</dc:date>
    </item>
  </channel>
</rss>

