<?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 setup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-setup/m-p/4789935#M607255</link>
    <description>Do not use vi to edit the file. The sudoers file states this warning at the top. The reason to use visudo is that it will always check what you added/changed and show the errors when you try to exit.</description>
    <pubDate>Thu, 19 May 2011 22:36:02 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2011-05-19T22:36:02Z</dc:date>
    <item>
      <title>Sudo setup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-setup/m-p/4789930#M607250</link>
      <description>I have installaed the sudo package on hp-ux 11.11  Server for su access to the user 'madhavav' &lt;BR /&gt;&lt;BR /&gt;# swlist -l product |grep -i sudo&lt;BR /&gt;  sudo                  1.8.1p1        Provide limited super-user priveleges to specific users&lt;BR /&gt;&lt;BR /&gt;I have added the following Entries in /etc/sudoers  &lt;BR /&gt;&lt;BR /&gt;User_alias ADMIN = madhavav&lt;BR /&gt;ADMIN ALL =(ALL) ALL&lt;BR /&gt;Cmnd_Alias SU = /usr/bin/su&lt;BR /&gt;&lt;BR /&gt;but when su - madhava and ran the following two commands&lt;BR /&gt;&lt;BR /&gt;1) sudo -l &lt;BR /&gt;2) sudo su -&lt;BR /&gt;&lt;BR /&gt;I am getting following error messages&lt;BR /&gt;&lt;BR /&gt;$ sudo su -&lt;BR /&gt;sudo: &amp;gt;&amp;gt;&amp;gt; /etc/sudoers: syntax error near line 24 &amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;sudo: parse error in /etc/sudoers near line 24&lt;BR /&gt;sudo: no valid sudoers sources found, quitting&lt;BR /&gt;sudo: unable to initialize policy plugin&lt;BR /&gt;$ ^C&lt;BR /&gt;$ sudo -l&lt;BR /&gt;sudo: &amp;gt;&amp;gt;&amp;gt; /etc/sudoers: syntax error near line 24 &amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;sudo: parse error in /etc/sudoers near line 24&lt;BR /&gt;sudo: no valid sudoers sources found, quitting&lt;BR /&gt;sudo: unable to initialize policy plugin&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please help me if need any necessary changes.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 May 2011 14:29:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-setup/m-p/4789930#M607250</guid>
      <dc:creator>Visweswara R Madhavarap</dc:creator>
      <dc:date>2011-05-19T14:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo setup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-setup/m-p/4789931#M607251</link>
      <description>&lt;!--!*#--&gt;&amp;gt;&amp;gt;&amp;gt; /etc/sudoers: syntax error near line 24 &amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Well, what's near line 24 ?&lt;BR /&gt;&lt;BR /&gt;can you give us a &lt;BR /&gt;&lt;BR /&gt;## cat /etc/sudoers&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;bv</description>
      <pubDate>Thu, 19 May 2011 15:11:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-setup/m-p/4789931#M607251</guid>
      <dc:creator>Bob_Vance</dc:creator>
      <dc:date>2011-05-19T15:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo setup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-setup/m-p/4789932#M607252</link>
      <description>uv got&lt;BR /&gt;&lt;BR /&gt;User_alias&lt;BR /&gt;&lt;BR /&gt;should be&lt;BR /&gt;&lt;BR /&gt;User_Alias&lt;BR /&gt;&lt;BR /&gt;bv</description>
      <pubDate>Thu, 19 May 2011 15:22:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-setup/m-p/4789932#M607252</guid>
      <dc:creator>Bob_Vance</dc:creator>
      <dc:date>2011-05-19T15:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo setup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-setup/m-p/4789933#M607253</link>
      <description>how did you edit sudoers?&lt;BR /&gt;&lt;BR /&gt;if you just vi the file, try use visudo and enter the text again.</description>
      <pubDate>Thu, 19 May 2011 15:46:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-setup/m-p/4789933#M607253</guid>
      <dc:creator>Wilfred Chau_1</dc:creator>
      <dc:date>2011-05-19T15:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo setup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-setup/m-p/4789934#M607254</link>
      <description>&lt;!--!*#--&gt;His problem is that User_Alias is case-sensitive and he had&lt;BR /&gt;  User_alias&lt;BR /&gt;---------^^^&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;bv</description>
      <pubDate>Thu, 19 May 2011 17:29:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-setup/m-p/4789934#M607254</guid>
      <dc:creator>Bob_Vance</dc:creator>
      <dc:date>2011-05-19T17:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo setup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-setup/m-p/4789935#M607255</link>
      <description>Do not use vi to edit the file. The sudoers file states this warning at the top. The reason to use visudo is that it will always check what you added/changed and show the errors when you try to exit.</description>
      <pubDate>Thu, 19 May 2011 22:36:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-setup/m-p/4789935#M607255</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2011-05-19T22:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sudo setup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-setup/m-p/4789936#M607256</link>
      <description>please configure&lt;BR /&gt;Host_Alias &lt;BR /&gt;User_Alias   &lt;BR /&gt;Cmnd_Alias&lt;BR /&gt;and&lt;BR /&gt;# User privilege specification&lt;BR /&gt;User_Alias       Host_Alias  = Cmnd_Alias</description>
      <pubDate>Fri, 20 May 2011 13:05:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-setup/m-p/4789936#M607256</guid>
      <dc:creator>AwadheshPandey</dc:creator>
      <dc:date>2011-05-20T13:05:42Z</dc:date>
    </item>
  </channel>
</rss>

