<?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 visudo in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/visudo/m-p/3545555#M17640</link>
    <description>Hello Gurus&lt;BR /&gt;&lt;BR /&gt;#visudo&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;Cmnd_Alias restart=/sbin/shutdown -r 0 #***line 26&lt;BR /&gt;username ALL=restart #*** line 27&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; sudoers file: syntax error, line 26 &amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; sudoers file: syntax error, line 27 &amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;What now?&lt;BR /&gt;&lt;BR /&gt;"Cmnd_Alias" is the cause of this error, bcause when i remove this line, all other things work fine.&lt;BR /&gt;plz let me know the correct synatx of Cmnd_Alias&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
    <pubDate>Mon, 16 May 2005 13:22:28 GMT</pubDate>
    <dc:creator>Maaz</dc:creator>
    <dc:date>2005-05-16T13:22:28Z</dc:date>
    <item>
      <title>visudo</title>
      <link>https://community.hpe.com/t5/operating-system-linux/visudo/m-p/3545555#M17640</link>
      <description>Hello Gurus&lt;BR /&gt;&lt;BR /&gt;#visudo&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;Cmnd_Alias restart=/sbin/shutdown -r 0 #***line 26&lt;BR /&gt;username ALL=restart #*** line 27&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; sudoers file: syntax error, line 26 &amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; sudoers file: syntax error, line 27 &amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;What now?&lt;BR /&gt;&lt;BR /&gt;"Cmnd_Alias" is the cause of this error, bcause when i remove this line, all other things work fine.&lt;BR /&gt;plz let me know the correct synatx of Cmnd_Alias&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Mon, 16 May 2005 13:22:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/visudo/m-p/3545555#M17640</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2005-05-16T13:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: visudo</title>
      <link>https://community.hpe.com/t5/operating-system-linux/visudo/m-p/3545556#M17641</link>
      <description>Could be a line abouve line 26 causing the problem. It is just spitting out the errors when it gets to line 26.&lt;BR /&gt;&lt;BR /&gt;Comment out lines 26 &amp;amp; 27, are you still getting errors?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 May 2005 14:37:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/visudo/m-p/3545556#M17641</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-05-16T14:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: visudo</title>
      <link>https://community.hpe.com/t5/operating-system-linux/visudo/m-p/3545557#M17642</link>
      <description>Thanks for reply Rick Garland&lt;BR /&gt;i have attached the /etc/sudoers file. plz check it.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Maaz</description>
      <pubDate>Tue, 17 May 2005 00:11:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/visudo/m-p/3545557#M17642</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2005-05-17T00:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: visudo</title>
      <link>https://community.hpe.com/t5/operating-system-linux/visudo/m-p/3545558#M17643</link>
      <description>Please change &lt;BR /&gt;"Cmnd_Alias restart=/sbin/shutdown -r 0" &lt;BR /&gt;to&lt;BR /&gt;"Cmnd_Alias RESTART=/sbin/shutdown -r 0"&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergejs</description>
      <pubDate>Tue, 17 May 2005 00:45:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/visudo/m-p/3545558#M17643</guid>
      <dc:creator>Sergejs Svitnevs</dc:creator>
      <dc:date>2005-05-17T00:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: visudo</title>
      <link>https://community.hpe.com/t5/operating-system-linux/visudo/m-p/3545559#M17644</link>
      <description>&lt;BR /&gt;Cmnd_Alias variable should be uppercase letter, so the correct syntax is Cmnd_Alias RESTART=/sbin/shutdown -r 0&lt;BR /&gt;&lt;BR /&gt;here is the snip from man page of sudoers&lt;BR /&gt;Each alias definition is of the form&lt;BR /&gt;&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;     Alias_Type NAME = item1, item2, ...&lt;BR /&gt;&lt;BR /&gt; where Alias_Type is one of User_Alias, Runas_Alias, Host_Alias, or Cmnd_Alias.  A NAME is a string of uppercase letters, numbers, and  underscore characters (â  _â  ).  A NAME must start with an uppercase letter.  It is possible to put several alias definitions of the same type on a single line, joined by a colon (â  :â  ).  E.g.,&lt;BR /&gt;&lt;BR /&gt;  Alias_Type NAME = item1, item2, item3 : NAME = item4, item5&lt;BR /&gt;&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;&lt;BR /&gt;for more information check man sudoers&lt;BR /&gt;&lt;BR /&gt;R&lt;/SNIP&gt;&lt;/SNIP&gt;</description>
      <pubDate>Tue, 17 May 2005 01:13:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/visudo/m-p/3545559#M17644</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-05-17T01:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: visudo</title>
      <link>https://community.hpe.com/t5/operating-system-linux/visudo/m-p/3545560#M17645</link>
      <description>Thanks Dear Sergejs Svitnevs, and Gopi Sekar, the help/reply.&lt;BR /&gt;&lt;BR /&gt;Thanks to All&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Tue, 17 May 2005 13:06:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/visudo/m-p/3545560#M17645</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2005-05-17T13:06:53Z</dc:date>
    </item>
  </channel>
</rss>

