<?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 / sudoers questions in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-sudoers-questions/m-p/5085077#M441365</link>
    <description>***</description>
    <pubDate>Wed, 19 Dec 2007 19:41:27 GMT</pubDate>
    <dc:creator>JLee_1</dc:creator>
    <dc:date>2007-12-19T19:41:27Z</dc:date>
    <item>
      <title>sudo / sudoers questions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-sudoers-questions/m-p/5085073#M441361</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm trying to get sudo configured on my 11.11 server, and I can't quite get it working.  I'm trying to allow two user id's to execute two things (/sbin/powermt &amp;amp; a shell script) as root, without authentication.  I'm not overly familiar with the syntax needed in the sudoers file, so I'm wondering if that's my issue.  Here's what I've tried to use to grant access to /sbin/powermt.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;user1  ALL=NOPASSWD: /sbin/powermt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"user1" gets prompted to authenticate when I try to execute the command:&lt;BR /&gt;&lt;BR /&gt;# sudo /sbin/powermt&lt;BR /&gt;&lt;BR /&gt;We trust you have received the usual lecture from the local System&lt;BR /&gt;Administrator. It usually boils down to these three things:&lt;BR /&gt;&lt;BR /&gt;    #1) Respect the privacy of others.&lt;BR /&gt;    #2) Think before you type.&lt;BR /&gt;    #3) With great power comes great responsibility.&lt;BR /&gt;&lt;BR /&gt;Password:&lt;BR /&gt;&lt;BR /&gt;And it doesn't accept the user's password, or the root password.   If anyone has any feedback or suggestions I'd be greatful.  Thanks in advance.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Dec 2007 17:04:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-sudoers-questions/m-p/5085073#M441361</guid>
      <dc:creator>JLee_1</dc:creator>
      <dc:date>2007-12-19T17:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: sudo / sudoers questions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-sudoers-questions/m-p/5085074#M441362</link>
      <description>Try using ...&lt;BR /&gt;&lt;BR /&gt;user1 ALL=/sbin/powermt&lt;BR /&gt;&lt;BR /&gt;Goodluck,&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Wed, 19 Dec 2007 17:19:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-sudoers-questions/m-p/5085074#M441362</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2007-12-19T17:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: sudo / sudoers questions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-sudoers-questions/m-p/5085075#M441363</link>
      <description>Hi Jlee,&lt;BR /&gt;&lt;BR /&gt;I just tried that and it worked. You probably have already done this but check the permission on /sbin/powermt&lt;BR /&gt;and the user1's entry in /etc/passwd file. &lt;BR /&gt;&lt;BR /&gt;also you could test this:&lt;BR /&gt;&lt;BR /&gt;user1 ALL =NOPASSWD: ALL&lt;BR /&gt;&lt;BR /&gt;to see if it works for somthing like&lt;BR /&gt;&lt;BR /&gt;sudo ls&lt;BR /&gt;&lt;BR /&gt;good luck kathy</description>
      <pubDate>Wed, 19 Dec 2007 17:28:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-sudoers-questions/m-p/5085075#M441363</guid>
      <dc:creator>Kathy Khaghani</dc:creator>
      <dc:date>2007-12-19T17:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: sudo / sudoers questions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-sudoers-questions/m-p/5085076#M441364</link>
      <description>Thanks for the quick response guys, I really appreciate it.&lt;BR /&gt;&lt;BR /&gt;Kathy - that worked great, and I was able put my two individual commands in there.  Thanks!</description>
      <pubDate>Wed, 19 Dec 2007 17:36:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-sudoers-questions/m-p/5085076#M441364</guid>
      <dc:creator>JLee_1</dc:creator>
      <dc:date>2007-12-19T17:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: sudo / sudoers questions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-sudoers-questions/m-p/5085077#M441365</link>
      <description>***</description>
      <pubDate>Wed, 19 Dec 2007 19:41:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-sudoers-questions/m-p/5085077#M441365</guid>
      <dc:creator>JLee_1</dc:creator>
      <dc:date>2007-12-19T19:41:27Z</dc:date>
    </item>
  </channel>
</rss>

