<?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 sudo - configuring the sudoers file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-configuring-the-sudoers-file/m-p/2431860#M3349</link>
    <description>Can someone please help me.&lt;BR /&gt;I have read the man pages on sudo, sudoers, and visudo and can still not determine the proper syntax for adding a user the capability to execute certain commands (as root user using the sudo command).&lt;BR /&gt;&lt;BR /&gt;I simply want to grant my DBA the ability to execute pfs_mount, root.sh (owner by Oracle but must be run by root), mkdir, and a couple of other commands.&lt;BR /&gt;&lt;BR /&gt;I have even gone to the SUDO page:  &lt;A href="http://www.courtesan.com/sudo/" target="_blank"&gt;http://www.courtesan.com/sudo/&lt;/A&gt;  and can still not find any examples of putting an entry type that I need into the sudoers file.&lt;BR /&gt;&lt;BR /&gt;My current type entries are:&lt;BR /&gt;&lt;BR /&gt;     # Host alias specification&lt;BR /&gt;&lt;BR /&gt;# User alias specification&lt;BR /&gt;&lt;BR /&gt;# Cmnd alias specification&lt;BR /&gt;&lt;BR /&gt;# Runas alias specification&lt;BR /&gt;&lt;BR /&gt;# User privilege specification&lt;BR /&gt;root    ALL=(ALL) ALL&lt;BR /&gt;joeDBA    ALL=(ALL) ALL&lt;BR /&gt;&lt;BR /&gt;I would like to give user joeDBA only certain privileges, not all of root's.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance...&lt;BR /&gt;&lt;BR /&gt;jim</description>
    <pubDate>Thu, 20 Jul 2000 10:28:26 GMT</pubDate>
    <dc:creator>Jim Wolff</dc:creator>
    <dc:date>2000-07-20T10:28:26Z</dc:date>
    <item>
      <title>sudo - configuring the sudoers file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-configuring-the-sudoers-file/m-p/2431860#M3349</link>
      <description>Can someone please help me.&lt;BR /&gt;I have read the man pages on sudo, sudoers, and visudo and can still not determine the proper syntax for adding a user the capability to execute certain commands (as root user using the sudo command).&lt;BR /&gt;&lt;BR /&gt;I simply want to grant my DBA the ability to execute pfs_mount, root.sh (owner by Oracle but must be run by root), mkdir, and a couple of other commands.&lt;BR /&gt;&lt;BR /&gt;I have even gone to the SUDO page:  &lt;A href="http://www.courtesan.com/sudo/" target="_blank"&gt;http://www.courtesan.com/sudo/&lt;/A&gt;  and can still not find any examples of putting an entry type that I need into the sudoers file.&lt;BR /&gt;&lt;BR /&gt;My current type entries are:&lt;BR /&gt;&lt;BR /&gt;     # Host alias specification&lt;BR /&gt;&lt;BR /&gt;# User alias specification&lt;BR /&gt;&lt;BR /&gt;# Cmnd alias specification&lt;BR /&gt;&lt;BR /&gt;# Runas alias specification&lt;BR /&gt;&lt;BR /&gt;# User privilege specification&lt;BR /&gt;root    ALL=(ALL) ALL&lt;BR /&gt;joeDBA    ALL=(ALL) ALL&lt;BR /&gt;&lt;BR /&gt;I would like to give user joeDBA only certain privileges, not all of root's.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance...&lt;BR /&gt;&lt;BR /&gt;jim</description>
      <pubDate>Thu, 20 Jul 2000 10:28:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-configuring-the-sudoers-file/m-p/2431860#M3349</guid>
      <dc:creator>Jim Wolff</dc:creator>
      <dc:date>2000-07-20T10:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: sudo - configuring the sudoers file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-configuring-the-sudoers-file/m-p/2431861#M3350</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;What about:&lt;BR /&gt;&lt;BR /&gt;# Host alias specification&lt;BR /&gt;Host_Alias HOSTS = aldebaran&lt;BR /&gt;&lt;BR /&gt;# User alias specification&lt;BR /&gt;User_Alias      ADMIN = rik&lt;BR /&gt;&lt;BR /&gt;# Cmnd alias specification&lt;BR /&gt;Cmnd_Alias      ADMIN_CMDS = /usr/bin/ksh, /bin/bash&lt;BR /&gt;&lt;BR /&gt;# Runas alias specification&lt;BR /&gt;Runas_Alias     ADMIN_RUNAS = root, oracle&lt;BR /&gt;&lt;BR /&gt;# User privilege specification&lt;BR /&gt;root ALL = (ALL) ALL&lt;BR /&gt;ADMIN   HOSTS = (ADMIN_RUNAS) ADMIN_CMDS&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Above example works on my host.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Rik.</description>
      <pubDate>Thu, 20 Jul 2000 12:35:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-configuring-the-sudoers-file/m-p/2431861#M3350</guid>
      <dc:creator>RikTytgat</dc:creator>
      <dc:date>2000-07-20T12:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: sudo - configuring the sudoers file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-configuring-the-sudoers-file/m-p/2431862#M3351</link>
      <description>I have attached a sudoers file that I have been using. It doesn't contain the pfs_mount but I believe it will get you what you need.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Jul 2000 12:39:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-configuring-the-sudoers-file/m-p/2431862#M3351</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-07-20T12:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: sudo - configuring the sudoers file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-configuring-the-sudoers-file/m-p/2431863#M3352</link>
      <description>Hi,&lt;BR /&gt;Forgot to mention that the sudoers manpage contains a good example.&lt;BR /&gt;&lt;BR /&gt;See &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;&lt;BR /&gt;&lt;BR /&gt;Bye,&lt;BR /&gt;Rik</description>
      <pubDate>Thu, 20 Jul 2000 12:41:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-configuring-the-sudoers-file/m-p/2431863#M3352</guid>
      <dc:creator>RikTytgat</dc:creator>
      <dc:date>2000-07-20T12:41:10Z</dc:date>
    </item>
  </channel>
</rss>

