<?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 Help with setting up sudo in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-setting-up-sudo/m-p/2514765#M22653</link>
    <description>I am trying to get sudo to work on a couple different HP-UX 11.00 boxes. I downloaded and ran the sudo-1.6.2*.depot.gz and gunzipped it.&lt;BR /&gt;Then installed it using swinstall. What else do I have to do to get it to work? Do I have to add to the PATH?&lt;BR /&gt;I have a sudoers file in usr/local/etc. and as a side question: any users listed in the sudoers file have to be added as local users on the server, right?&lt;BR /&gt;Thanks kindly&lt;BR /&gt;Jim&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 07 Apr 2001 16:27:49 GMT</pubDate>
    <dc:creator>Jim Bonia</dc:creator>
    <dc:date>2001-04-07T16:27:49Z</dc:date>
    <item>
      <title>Help with setting up sudo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-setting-up-sudo/m-p/2514765#M22653</link>
      <description>I am trying to get sudo to work on a couple different HP-UX 11.00 boxes. I downloaded and ran the sudo-1.6.2*.depot.gz and gunzipped it.&lt;BR /&gt;Then installed it using swinstall. What else do I have to do to get it to work? Do I have to add to the PATH?&lt;BR /&gt;I have a sudoers file in usr/local/etc. and as a side question: any users listed in the sudoers file have to be added as local users on the server, right?&lt;BR /&gt;Thanks kindly&lt;BR /&gt;Jim&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 07 Apr 2001 16:27:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-setting-up-sudo/m-p/2514765#M22653</guid>
      <dc:creator>Jim Bonia</dc:creator>
      <dc:date>2001-04-07T16:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with setting up sudo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-setting-up-sudo/m-p/2514766#M22654</link>
      <description>To answer your questions:&lt;BR /&gt;&lt;BR /&gt;1)  Yes I would add sudo to the PATH.  It doesn't do you any good if you can't get to it easily. :)&lt;BR /&gt;&lt;BR /&gt;2)  The users you define in sudo should already be defined locally on your machine.  Again, sudo won't work very well if the user isn't logged in.  If they can't already log in to the box, why are you setting them up in your sudoers file?</description>
      <pubDate>Sun, 08 Apr 2001 03:16:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-setting-up-sudo/m-p/2514766#M22654</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-04-08T03:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with setting up sudo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-setting-up-sudo/m-p/2514767#M22655</link>
      <description>Thanks, I will add it to PATH. &lt;BR /&gt;&lt;BR /&gt;Excuse the dumb question about users/sudoers.&lt;BR /&gt;I am learning ;-)&lt;BR /&gt;&lt;BR /&gt;Thanks again.</description>
      <pubDate>Sun, 08 Apr 2001 20:27:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-setting-up-sudo/m-p/2514767#M22655</guid>
      <dc:creator>Jim Bonia</dc:creator>
      <dc:date>2001-04-08T20:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with setting up sudo</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-setting-up-sudo/m-p/2514768#M22656</link>
      <description>&lt;BR /&gt;after you have downloaded and installed the sudo software, you should add the sudo man pages:&lt;BR /&gt;#MANPATH=$MANPATH:/opt/sudo/man&lt;BR /&gt;#man sudo&lt;BR /&gt;#man visudo&lt;BR /&gt;#man sudoers&lt;BR /&gt;Now you must define which users can use, execute which commands with root permissions via the /etc/sudoers configuration file.&amp;gt;This file can be created and modified using visudo cpommand.&lt;BR /&gt;It could be like this:&lt;BR /&gt;#visudo&lt;BR /&gt;user1 ALL=/usr/sbin/lpshut,/usr/sbin/lpsched&lt;BR /&gt;dba ALL=/sbin/shutdown,/sbin/reboot&lt;BR /&gt;&lt;BR /&gt;This file allows user1 to stop and start lp scheduler on any host with sudo installed and dba to shut and reboot.&lt;BR /&gt;&lt;BR /&gt;To run commands:&lt;BR /&gt;login; user1&lt;BR /&gt;Passord: ******&lt;BR /&gt;&lt;BR /&gt;$sudo /usr/sbin/lpshut&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;federico</description>
      <pubDate>Mon, 09 Apr 2001 09:30:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-setting-up-sudo/m-p/2514768#M22656</guid>
      <dc:creator>federico_3</dc:creator>
      <dc:date>2001-04-09T09:30:27Z</dc:date>
    </item>
  </channel>
</rss>

