<?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 SysAdmins in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-sysadmins/m-p/2427399#M1852</link>
    <description>Are you restricting your admins from specific root functions?  If not, you   could simply disable direct root accss and require them to log into their own accounts before "su"ing to root.  Then simply place a script command in the root profile with a script command that hits a different file based on the output of logname.</description>
    <pubDate>Fri, 23 Jun 2000 20:56:38 GMT</pubDate>
    <dc:creator>Alan Riggs</dc:creator>
    <dc:date>2000-06-23T20:56:38Z</dc:date>
    <item>
      <title>sudo - for SysAdmins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-sysadmins/m-p/2427396#M1849</link>
      <description>I have set up sudo for our users, I want to set it up for our SysAdmins.  I have it set up so SysAdmins can run every command but they must type sudo in front of the command.  Is there away to allow SysAdmins to run the commands without typing in Sudo in front of every command and still log what command they have run?&lt;BR /&gt;&lt;BR /&gt;thanks ... Lou</description>
      <pubDate>Fri, 23 Jun 2000 16:05:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-sysadmins/m-p/2427396#M1849</guid>
      <dc:creator>Louis Masucci</dc:creator>
      <dc:date>2000-06-23T16:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: sudo - for SysAdmins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-sysadmins/m-p/2427397#M1850</link>
      <description>If they have the option to "sudo su -" and become the root user, then they would not have to type the sudo first for subsequent commands - but you will not have those entries put into the sudo.log (these commands are run as root and are not being run as the sudo user). The initial "sudo su -" will go into the sudo.log&lt;BR /&gt;&lt;BR /&gt;If you have setup the configure options to log to sudo.log or syslog.log or both, they will log the sudo commands. Commands not running with sudo are not logged. &lt;BR /&gt;&lt;BR /&gt;You could setup an alias to shorten the sudo, write scripts that input the sudo command first, etc... There are many options available at this point.&lt;BR /&gt;&lt;BR /&gt;I think you may be looking at two different logging capabilities here.</description>
      <pubDate>Fri, 23 Jun 2000 17:47:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-sysadmins/m-p/2427397#M1850</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-06-23T17:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: sudo - for SysAdmins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-sysadmins/m-p/2427398#M1851</link>
      <description>Had to look through my notes but there is &lt;A href="http://www.courtesan.com" target="_blank"&gt;www.courtesan.com&lt;/A&gt; site that will help you look for answers. I also have the configure options that were used when I did the build for sudo on HPUX&lt;BR /&gt;&lt;BR /&gt;Give me a holler and I'll provide what info I can.</description>
      <pubDate>Fri, 23 Jun 2000 20:38:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-sysadmins/m-p/2427398#M1851</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-06-23T20:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: sudo - for SysAdmins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-sysadmins/m-p/2427399#M1852</link>
      <description>Are you restricting your admins from specific root functions?  If not, you   could simply disable direct root accss and require them to log into their own accounts before "su"ing to root.  Then simply place a script command in the root profile with a script command that hits a different file based on the output of logname.</description>
      <pubDate>Fri, 23 Jun 2000 20:56:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-sysadmins/m-p/2427399#M1852</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-06-23T20:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: sudo - for SysAdmins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-sysadmins/m-p/2427400#M1853</link>
      <description>Another option might be giving all sysadmins a user id 0. Used commands are still saved in the users history instead of root's?&lt;BR /&gt;&lt;BR /&gt;Evert Jan&lt;BR /&gt;</description>
      <pubDate>Sat, 24 Jun 2000 13:14:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-sysadmins/m-p/2427400#M1853</guid>
      <dc:creator>Evert Jan van Ramselaar</dc:creator>
      <dc:date>2000-06-24T13:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: sudo - for SysAdmins</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-sysadmins/m-p/2427401#M1854</link>
      <description>I would be very cautious about ever giving other user UID 0.  It is far too easy for an ordinary user to make a mistake that would have been protected with a non-root ID. UID 0 is far too powerful to be used casually (as many sysaadmins will attest). &lt;BR /&gt;&lt;BR /&gt;The rule should be: ask if UID 0 is *really* needed. If it is, login as root (never use su, use /usr/bin/su - root) take care of the task and then immediately leave.&lt;BR /&gt;&lt;BR /&gt;Consider also what happens when a non-root user name has UID 0: They leave the company, the super user removes their account and all files owned by that user -- total destruction of HP-UX will result.  Oops...</description>
      <pubDate>Mon, 26 Jun 2000 00:20:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-for-sysadmins/m-p/2427401#M1854</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2000-06-26T00:20:44Z</dc:date>
    </item>
  </channel>
</rss>

