<?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: visudo error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162804#M320248</link>
    <description>Ownership root:root and perms 0440 of the sudoers file&lt;BR /&gt;is perfectly ok, and shouldn't be changed at all.&lt;BR /&gt;If you haven't changed Defaults in sudoers&lt;BR /&gt;then you could look at the logfile where your syslogd auth facility is being logged to for any hints why visudo is rejecting you.&lt;BR /&gt;</description>
    <pubDate>Mon, 17 Mar 2008 14:49:44 GMT</pubDate>
    <dc:creator>Ralph Grothe</dc:creator>
    <dc:date>2008-03-17T14:49:44Z</dc:date>
    <item>
      <title>visudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162796#M320240</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;When we execute visudo command the following error is as shown below.&lt;BR /&gt;&lt;BR /&gt;# /usr/local/sbin/visudo&lt;BR /&gt;/usr/local/sbin/visudo: /usr/local/etc/sudoers: Permission denied&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards</description>
      <pubDate>Mon, 17 Mar 2008 11:01:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162796#M320240</guid>
      <dc:creator>zsujith</dc:creator>
      <dc:date>2008-03-17T11:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: visudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162797#M320241</link>
      <description>Only root can use visudo. Or someone who already have access configured in sudoers.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Mon, 17 Mar 2008 11:07:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162797#M320241</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-03-17T11:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: visudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162798#M320242</link>
      <description>Check the permission of sudoers file&lt;BR /&gt;&lt;BR /&gt;ll /usr/local/etc/sudoers</description>
      <pubDate>Mon, 17 Mar 2008 11:20:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162798#M320242</guid>
      <dc:creator>Siju Vadakkan</dc:creator>
      <dc:date>2008-03-17T11:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: visudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162799#M320243</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;We get the premission denied error when we execute through root login also. &lt;BR /&gt;&lt;BR /&gt;The permission of sudoers file is as shown below.&lt;BR /&gt;&lt;BR /&gt;# ls -lt /usr/local/etc/sudoers&lt;BR /&gt;-r--r-----   1 root     root        1551 Mar 14 04:20 /usr/local/etc/sudoers&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 17 Mar 2008 11:26:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162799#M320243</guid>
      <dc:creator>zsujith</dc:creator>
      <dc:date>2008-03-17T11:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: visudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162800#M320244</link>
      <description>Add u+w (write) permissions:&lt;BR /&gt;&lt;BR /&gt;chmod u+w /usr/local/etc/sudoers&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Mon, 17 Mar 2008 11:43:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162800#M320244</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-03-17T11:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: visudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162801#M320245</link>
      <description>make the permission as 644&lt;BR /&gt;&lt;BR /&gt;chmod 644 /usr/local/etc/sudoers</description>
      <pubDate>Mon, 17 Mar 2008 11:46:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162801#M320245</guid>
      <dc:creator>Siju Vadakkan</dc:creator>
      <dc:date>2008-03-17T11:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: visudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162802#M320246</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;don't change the permissions of sudoers, but check perms and owner of sudo binary. It must have:&lt;BR /&gt;-rwsr-xr-x root/root</description>
      <pubDate>Mon, 17 Mar 2008 12:26:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162802#M320246</guid>
      <dc:creator>Mounaam</dc:creator>
      <dc:date>2008-03-17T12:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: visudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162803#M320247</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;The permission of 3 files are shown below.&lt;BR /&gt;&lt;BR /&gt;ls -lt /usr/local/bin/sudo&lt;BR /&gt;---s--x--x   1 root     users      95716 Dec  3  2000 /usr/local/bin/sudo&lt;BR /&gt;$ ls -lt /usr/local/sbin/visudo&lt;BR /&gt;-rwxr-xr-x   1 root     users      69780 Dec  3  2000 /usr/local/sbin/visudo&lt;BR /&gt;$ ls -lt /usr/local/etc/sudoers&lt;BR /&gt;-r--r-----   1 root     root        1551 Mar 14 04:20 /usr/local/etc/sudoers&lt;BR /&gt;&lt;BR /&gt;The same permission are there in other 2 servers and there visudo is working fine.&lt;BR /&gt;&lt;BR /&gt;Waiting for your reply.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 17 Mar 2008 13:44:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162803#M320247</guid>
      <dc:creator>zsujith</dc:creator>
      <dc:date>2008-03-17T13:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: visudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162804#M320248</link>
      <description>Ownership root:root and perms 0440 of the sudoers file&lt;BR /&gt;is perfectly ok, and shouldn't be changed at all.&lt;BR /&gt;If you haven't changed Defaults in sudoers&lt;BR /&gt;then you could look at the logfile where your syslogd auth facility is being logged to for any hints why visudo is rejecting you.&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Mar 2008 14:49:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162804#M320248</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2008-03-17T14:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: visudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162805#M320249</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;sorry I made a mistake on my last post:&lt;BR /&gt;I gave you permission of sudo binary and not visudo.&lt;BR /&gt;&lt;BR /&gt;Can you check that you have write permission on directory: /usr/local/etc/&lt;BR /&gt;&lt;BR /&gt;and finally execute strace -o /tmp/out.txt visudo&lt;BR /&gt;and search for a syscall that is returning an error like EACCES or EPERM.</description>
      <pubDate>Mon, 17 Mar 2008 14:49:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162805#M320249</guid>
      <dc:creator>Mounaam</dc:creator>
      <dc:date>2008-03-17T14:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: visudo error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162806#M320250</link>
      <description>&amp;gt;Mounaam: finally execute strace&lt;BR /&gt;&lt;BR /&gt;On HP-UX you want tusc:&lt;BR /&gt;tusc -fp -o /tmp/out.txt visudo</description>
      <pubDate>Mon, 17 Mar 2008 15:36:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/visudo-error/m-p/4162806#M320250</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-03-17T15:36:40Z</dc:date>
    </item>
  </channel>
</rss>

