<?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: Quick Question on Sudoers file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/quick-question-on-sudoers-file/m-p/5243852#M470122</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Sorry, each server could have different file.  also some servers have sudoers file under /etc/ and some might have under /opt.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Mike</description>
    <pubDate>Tue, 15 Jun 2010 17:34:20 GMT</pubDate>
    <dc:creator>Mike_305</dc:creator>
    <dc:date>2010-06-15T17:34:20Z</dc:date>
    <item>
      <title>Quick Question on Sudoers file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quick-question-on-sudoers-file/m-p/5243849#M470119</link>
      <description>Hello All,&lt;BR /&gt;&lt;BR /&gt;I have several servers where I have add few lines to sudoers file and not good with scripting.  &lt;BR /&gt;&lt;BR /&gt;Few lines I am trying to add under "# Cmnd alias specification" and few lines "# User privilege specification".&lt;BR /&gt;&lt;BR /&gt;Now, the question that I have is can add at the bottom of file and things will work or they have to go in a set order at correct location in the file.&lt;BR /&gt;&lt;BR /&gt;The reason I am asking because I have 100+ servers and don't want to "vi" the file on each server to keep the correct format.  I was planning to just echo the lines and add them at the bottom of file.&lt;BR /&gt;&lt;BR /&gt;Like they say quantity and quality don't go together.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help in advance.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;MJ</description>
      <pubDate>Tue, 15 Jun 2010 17:14:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quick-question-on-sudoers-file/m-p/5243849#M470119</guid>
      <dc:creator>Mike_305</dc:creator>
      <dc:date>2010-06-15T17:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Question on Sudoers file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quick-question-on-sudoers-file/m-p/5243850#M470120</link>
      <description>create a std file and scp it around the environment... however you *should* be able to add to the end assuming no conflicting entries.</description>
      <pubDate>Tue, 15 Jun 2010 17:23:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quick-question-on-sudoers-file/m-p/5243850#M470120</guid>
      <dc:creator>Kevin Wright</dc:creator>
      <dc:date>2010-06-15T17:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Question on Sudoers file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quick-question-on-sudoers-file/m-p/5243851#M470121</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] don't want to "vi" the file on each&lt;BR /&gt;&amp;gt; server [...]&lt;BR /&gt;&lt;BR /&gt;Does each server have a unique file, or can&lt;BR /&gt;you edit one, and then copy it around?&lt;BR /&gt;&lt;BR /&gt;If not, then many editors can be scripted.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Like they say quantity and quality don't go&lt;BR /&gt;&amp;gt; together.&lt;BR /&gt;&lt;BR /&gt;In my experience, they can coexist just fine.</description>
      <pubDate>Tue, 15 Jun 2010 17:26:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quick-question-on-sudoers-file/m-p/5243851#M470121</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-06-15T17:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Question on Sudoers file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quick-question-on-sudoers-file/m-p/5243852#M470122</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Sorry, each server could have different file.  also some servers have sudoers file under /etc/ and some might have under /opt.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Mike</description>
      <pubDate>Tue, 15 Jun 2010 17:34:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quick-question-on-sudoers-file/m-p/5243852#M470122</guid>
      <dc:creator>Mike_305</dc:creator>
      <dc:date>2010-06-15T17:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Question on Sudoers file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quick-question-on-sudoers-file/m-p/5243853#M470123</link>
      <description>Yes, you can add the new lines in the end of file sudoers. The problem is it is hard for you to check the sudo in the future. So, it is better to give them a good comment.</description>
      <pubDate>Tue, 15 Jun 2010 18:01:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quick-question-on-sudoers-file/m-p/5243853#M470123</guid>
      <dc:creator>Tingli</dc:creator>
      <dc:date>2010-06-15T18:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Question on Sudoers file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quick-question-on-sudoers-file/m-p/5243854#M470124</link>
      <description>make out the list as per loaction of sudoers:&lt;BR /&gt;list1 and list2&lt;BR /&gt;&lt;BR /&gt;if ssh_keys are distributed on the system you can do it in follwoing way:&lt;BR /&gt;&lt;BR /&gt;for server in `cat list1`&lt;BR /&gt;do&lt;BR /&gt;&lt;BR /&gt;ssh $server "echo "sudoer entry" &amp;gt;&amp;gt; /filelocation"&lt;BR /&gt;&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Hope u will test before you run it..&lt;BR /&gt;&lt;BR /&gt;All the best.</description>
      <pubDate>Wed, 16 Jun 2010 02:19:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quick-question-on-sudoers-file/m-p/5243854#M470124</guid>
      <dc:creator>singh sanjeev</dc:creator>
      <dc:date>2010-06-16T02:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Question on Sudoers file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quick-question-on-sudoers-file/m-p/5243855#M470125</link>
      <description>Thanks for everyone's help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;MJ</description>
      <pubDate>Sat, 19 Jun 2010 20:01:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quick-question-on-sudoers-file/m-p/5243855#M470125</guid>
      <dc:creator>Mike_305</dc:creator>
      <dc:date>2010-06-19T20:01:12Z</dc:date>
    </item>
  </channel>
</rss>

