<?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 for route adds in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-route-adds/m-p/2712279#M60912</link>
    <description>Chmod your sudo program ..&lt;BR /&gt;&lt;BR /&gt;# chmod 4111 sudo&lt;BR /&gt;&lt;BR /&gt;SUID bit got to be set.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 26 Apr 2002 19:30:42 GMT</pubDate>
    <dc:creator>S.K. Chan</dc:creator>
    <dc:date>2002-04-26T19:30:42Z</dc:date>
    <item>
      <title>sudo for route adds</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-route-adds/m-p/2712278#M60911</link>
      <description>Hi everyone,&lt;BR /&gt;I am trying to configure sudo so a Net admin can do a route add. I installed sudo version 1.6.2b1 and used the visudo command to try to configure it. &lt;BR /&gt;&lt;BR /&gt;It looks like this:&lt;BR /&gt;&lt;BR /&gt;# Host alias specification&lt;BR /&gt;Host_Alias LUPUS = lupus&lt;BR /&gt;# User alias specification&lt;BR /&gt;User_Alias OPERATOR = rleon2&lt;BR /&gt;# Cmnd alias specification&lt;BR /&gt;&lt;BR /&gt;# User privilege specification&lt;BR /&gt;root    ALL=(ALL) ALL&lt;BR /&gt;OPERATOR LUPUS = /usr/sbin/route&lt;BR /&gt;rleon2 ALL=/usr/sbin/route&lt;BR /&gt;&lt;BR /&gt;But when I log in as rleon2 to test and see if i can do a route add. I get the error &lt;BR /&gt;&lt;BR /&gt;Sorry, sudo must be setuid root.&lt;BR /&gt;&lt;BR /&gt;What am i missing?&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;- Richard</description>
      <pubDate>Fri, 26 Apr 2002 19:23:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-route-adds/m-p/2712278#M60911</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-04-26T19:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: sudo for route adds</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-route-adds/m-p/2712279#M60912</link>
      <description>Chmod your sudo program ..&lt;BR /&gt;&lt;BR /&gt;# chmod 4111 sudo&lt;BR /&gt;&lt;BR /&gt;SUID bit got to be set.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Apr 2002 19:30:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-route-adds/m-p/2712279#M60912</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-04-26T19:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: sudo for route adds</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-route-adds/m-p/2712280#M60913</link>
      <description>Richard,&lt;BR /&gt;&lt;BR /&gt;Check the mode bit of sudo.&lt;BR /&gt;It should ---s--x--x.&lt;BR /&gt;Otherwise, do this to set setuid as root.&lt;BR /&gt;# chmod 4111 sudo&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Fri, 26 Apr 2002 19:31:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-route-adds/m-p/2712280#M60913</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2002-04-26T19:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: sudo for route adds</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-route-adds/m-p/2712281#M60914</link>
      <description>lol&lt;BR /&gt;I did &lt;BR /&gt;&lt;BR /&gt;#chmod u+s sudo&lt;BR /&gt;&lt;BR /&gt;and now it works it gives me &lt;BR /&gt;We trust you have received the usual lecture from the local System&lt;BR /&gt;Administrator. It usually boils down to these two things:&lt;BR /&gt;&lt;BR /&gt;        #1) Respect the privacy of others.&lt;BR /&gt;        #2) Think before you type.&lt;BR /&gt;&lt;BR /&gt;Password:&lt;BR /&gt;usage: add destination [netmask mask] gateway [metric]&lt;BR /&gt;&lt;BR /&gt;..&lt;BR /&gt;&lt;BR /&gt;How do I take that message off?&lt;BR /&gt;&lt;BR /&gt;And in visudo &lt;BR /&gt;&lt;BR /&gt;do i have to specify each augument?&lt;BR /&gt;&lt;BR /&gt;- Richard&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Apr 2002 19:32:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-route-adds/m-p/2712281#M60914</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-04-26T19:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: sudo for route adds</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-route-adds/m-p/2712282#M60915</link>
      <description>Richard,&lt;BR /&gt;&lt;BR /&gt;This certainly seems a permissions problem with either you 'sudo' binary or the /etc/sudoers file itself.&lt;BR /&gt;&lt;BR /&gt;The permissions on /etc/sudoers should be &lt;BR /&gt;&lt;BR /&gt;440 root root&lt;BR /&gt;&lt;BR /&gt;I am sure someone can find the correct permission on the binary (working at home)&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;~Michael~</description>
      <pubDate>Fri, 26 Apr 2002 19:32:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-route-adds/m-p/2712282#M60915</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-04-26T19:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: sudo for route adds</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-route-adds/m-p/2712283#M60916</link>
      <description>Hi richard,&lt;BR /&gt;No you don't have to specify all arguments in /etc/sudoers file.&lt;BR /&gt;operator can run it like&lt;BR /&gt;sudo /usr/sbin/route arguments.....&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Fri, 26 Apr 2002 19:40:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-route-adds/m-p/2712283#M60916</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2002-04-26T19:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: sudo for route adds</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-route-adds/m-p/2712284#M60917</link>
      <description>I think the only way to not display the message is to set NOPASSWD in the /etc/sudoers file for a specific user. I'm not sure since I've never done that before. Check the "NOPASSWD and PASSWD" section in this URL ..&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.courtesan.com/sudo/man/sudoers.html" target="_blank"&gt;http://www.courtesan.com/sudo/man/sudoers.html&lt;/A&gt;</description>
      <pubDate>Fri, 26 Apr 2002 19:56:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-route-adds/m-p/2712284#M60917</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-04-26T19:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: sudo for route adds</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-route-adds/m-p/2712285#M60918</link>
      <description>All that worked and Mr. S.K that is the way to stop the message.&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Fri, 26 Apr 2002 20:00:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-route-adds/m-p/2712285#M60918</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-04-26T20:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: sudo for route adds</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-route-adds/m-p/2712286#M60919</link>
      <description>The sudo warning message should only occur on the 1st usage for each user. After the user has a time stamp in the logs it should not appear again.  I personally would not turnoff the passwd option, but that's up to up.&lt;BR /&gt;&lt;BR /&gt;Ed</description>
      <pubDate>Mon, 29 Apr 2002 16:44:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-route-adds/m-p/2712286#M60919</guid>
      <dc:creator>Ed Sampson</dc:creator>
      <dc:date>2002-04-29T16:44:34Z</dc:date>
    </item>
  </channel>
</rss>

