<?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 problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789027#M264669</link>
    <description>OK - I suspect it's in the sudoers file itself - section should look like:&lt;BR /&gt;&lt;BR /&gt;User_Alias SUDO_NAME = %group_name1, %group_name2&lt;BR /&gt;Cmnd_Alias SUDO_CMD_NAMES = \&lt;BR /&gt;/path/to/first/command, \&lt;BR /&gt;/path/to/second/commnd, \&lt;BR /&gt;/path/to/final/command&lt;BR /&gt;SUDO_NAME ALL = (root) SUDO_CMD_NAMES&lt;BR /&gt;&lt;BR /&gt;Note the need for commas after group definitions &amp;amp; commas/backslashes  as well after all but the last command and the actual definitions at the end of the section.&lt;BR /&gt;&lt;BR /&gt;It's easy to miss one of these.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
    <pubDate>Tue, 16 May 2006 10:51:49 GMT</pubDate>
    <dc:creator>Jeff Schussele</dc:creator>
    <dc:date>2006-05-16T10:51:49Z</dc:date>
    <item>
      <title>sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789021#M264663</link>
      <description>I have an issue with sudo where a user gets this error. &lt;BR /&gt;&lt;BR /&gt;"user NOT authorized on host"&lt;BR /&gt;&lt;BR /&gt;Not exactly sure what that means, the user has access to the box and I have given them sudo permission to run the commands in /etc/sudoers.</description>
      <pubDate>Tue, 16 May 2006 10:05:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789021#M264663</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2006-05-16T10:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789022#M264664</link>
      <description>Look at the Host_Alias entries in your /etc/sudoers file.</description>
      <pubDate>Tue, 16 May 2006 10:14:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789022#M264664</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-05-16T10:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789023#M264665</link>
      <description>Look at the Host_Alias and User_Alias entries in your /etc/sudoers file.</description>
      <pubDate>Tue, 16 May 2006 10:15:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789023#M264665</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-05-16T10:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789024#M264666</link>
      <description>Hi Todd,&lt;BR /&gt;&lt;BR /&gt;The command *must* be exactly what the user types. You can use wildcards, but the path &amp;amp; actual command must match that pattern. &lt;BR /&gt;Also most sudo rules apply to group perms so make sure the user is effectively in the proper group - i.e. if they're a member of several, they are presently in the proper one or you've set up netgroups to give them rights to all. &lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 16 May 2006 10:16:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789024#M264666</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2006-05-16T10:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789025#M264667</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Perhaps, this could help &lt;A href="http://www.ussg.iu.edu/UAU/advcomm/sudoers" target="_blank"&gt;http://www.ussg.iu.edu/UAU/advcomm/sudoers&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Tue, 16 May 2006 10:33:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789025#M264667</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-05-16T10:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789026#M264668</link>
      <description>So far as I know, We have never used any alias of any type. &lt;BR /&gt;&lt;BR /&gt;I have the full path in the entry but with no options, that should give them the access to run it with any options they choose. &lt;BR /&gt;&lt;BR /&gt;The user is only in one group. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 May 2006 10:38:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789026#M264668</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2006-05-16T10:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789027#M264669</link>
      <description>OK - I suspect it's in the sudoers file itself - section should look like:&lt;BR /&gt;&lt;BR /&gt;User_Alias SUDO_NAME = %group_name1, %group_name2&lt;BR /&gt;Cmnd_Alias SUDO_CMD_NAMES = \&lt;BR /&gt;/path/to/first/command, \&lt;BR /&gt;/path/to/second/commnd, \&lt;BR /&gt;/path/to/final/command&lt;BR /&gt;SUDO_NAME ALL = (root) SUDO_CMD_NAMES&lt;BR /&gt;&lt;BR /&gt;Note the need for commas after group definitions &amp;amp; commas/backslashes  as well after all but the last command and the actual definitions at the end of the section.&lt;BR /&gt;&lt;BR /&gt;It's easy to miss one of these.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 16 May 2006 10:51:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789027#M264669</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2006-05-16T10:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789028#M264670</link>
      <description>This is the format we have used for a long time and I have never had an issue with it.&lt;BR /&gt;&lt;BR /&gt;user1 ALL=(ALL) NOPASSWD:/path/to/command</description>
      <pubDate>Tue, 16 May 2006 11:07:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789028#M264670</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2006-05-16T11:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789029#M264671</link>
      <description>Todd,&lt;BR /&gt;&lt;BR /&gt;Are you sure that there are no duplicate user-id's in your passwd or group file.&lt;BR /&gt;Does your syntax work for another user?&lt;BR /&gt;&lt;BR /&gt;Can you do the following:&lt;BR /&gt;- id &lt;USER-ID&gt;&lt;BR /&gt;- pwck&lt;BR /&gt;- grpck&lt;BR /&gt;&lt;BR /&gt;Darrel&lt;/USER-ID&gt;</description>
      <pubDate>Tue, 16 May 2006 16:01:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789029#M264671</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2006-05-16T16:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: sudo problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789030#M264672</link>
      <description>Check for duplicate IDs with:&lt;BR /&gt; &lt;BR /&gt;logins -d</description>
      <pubDate>Tue, 16 May 2006 16:22:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-problem/m-p/3789030#M264672</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-05-16T16:22:57Z</dc:date>
    </item>
  </channel>
</rss>

