<?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 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sudo/m-p/2771657#M2062</link>
    <description>Hi,&lt;BR /&gt;Here i have a working example of sudoers:&lt;BR /&gt;&lt;BR /&gt;overseer ALL = (x400) NOPASSWD: ALL&lt;BR /&gt;overseer ALL = (root) NOPASSWD: /usr/contrib/bin/overpid,/usr/bin/kill&lt;BR /&gt;overseer ALL = (bb) NOPASSWD: /home/bb/bb18c1/runbb.sh&lt;BR /&gt;www ALL = (overseer) NOPASSWD: /home/overseer/checkstatus&lt;BR /&gt;&lt;BR /&gt;Here:&lt;BR /&gt;1. the user 'overseer' can act like x400 without password.&lt;BR /&gt;2. the user 'overseer' can user overpid and kill as root without password&lt;BR /&gt;3. the user 'overseer' can use runbb.sh as 'bb' without password&lt;BR /&gt;4. here the user 'www' can user checkstatus as user 'overseer'.&lt;BR /&gt;&lt;BR /&gt;Works quit well, only sometimes it is better to use techniques like stickybits etcetera.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ceesjan</description>
    <pubDate>Thu, 25 Jul 2002 08:51:44 GMT</pubDate>
    <dc:creator>Ceesjan van Hattum</dc:creator>
    <dc:date>2002-07-25T08:51:44Z</dc:date>
    <item>
      <title>sudo</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo/m-p/2771653#M2058</link>
      <description>Hallo all..&lt;BR /&gt;on redhat i want that a user can issue some root commands, for example mount. How can i do that?&lt;BR /&gt;Just modifying /etc/sudoers?&lt;BR /&gt;How this file is modified? I have checked the man file, but i still need help.&lt;BR /&gt;I edited the /etc/sudoers with visudo, and there's a line for root&lt;BR /&gt;root   ALL=(ALL)  ALL&lt;BR /&gt;I tried with:&lt;BR /&gt;oracle mount &lt;BR /&gt;but i get&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; sudoers file: syntax error, line 16 &amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;How can configure it correctly?</description>
      <pubDate>Wed, 24 Jul 2002 13:34:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo/m-p/2771653#M2058</guid>
      <dc:creator>Tarek_1</dc:creator>
      <dc:date>2002-07-24T13:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: sudo</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo/m-p/2771654#M2059</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;Here's a good article with some examples &lt;BR /&gt;how to use sudo. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.linuxmuse.com/articles.php?action=section&amp;amp;article=15&amp;amp;num=1" target="_blank"&gt;http://www.linuxmuse.com/articles.php?action=section&amp;amp;article=15&amp;amp;num=1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards.&lt;BR /&gt;&lt;BR /&gt;Steven</description>
      <pubDate>Wed, 24 Jul 2002 17:26:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo/m-p/2771654#M2059</guid>
      <dc:creator>Steven Mertens</dc:creator>
      <dc:date>2002-07-24T17:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: sudo</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo/m-p/2771655#M2060</link>
      <description>Tarek, the man page for sudoers has some examples down toward the bottom that are reasonably succinct. But to give an example, here's what your sudoers (edited via visudo) might look like:&lt;BR /&gt;# sudoers file.&lt;BR /&gt;#&lt;BR /&gt;# This file MUST be edited with the 'visudo' command as root.&lt;BR /&gt;#&lt;BR /&gt;# See the sudoers man page for the details on how to write a sudoers file.&lt;BR /&gt;#&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;# Defaults specification&lt;BR /&gt;&lt;BR /&gt;# User privilege specification&lt;BR /&gt;root    ALL=(ALL) ALL&lt;BR /&gt;oracle  ALL= /sbin/mount, /sbin/umount&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jul 2002 19:32:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo/m-p/2771655#M2060</guid>
      <dc:creator>Mark Fenton</dc:creator>
      <dc:date>2002-07-24T19:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: sudo</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo/m-p/2771656#M2061</link>
      <description>The other option is to make an entry in the /etc/fstab for your NFS mount with the 'user' option (or 'users' if someone else will un-mount it).&lt;BR /&gt;&lt;BR /&gt;This way they can not modify any of the other mounts on the system, just theirs.  Unfortunately, this doesn't tie it to a signle user who can issue the 'mount' command, but any user.&lt;BR /&gt;&lt;BR /&gt;(see 'man 8 mount')</description>
      <pubDate>Wed, 24 Jul 2002 22:33:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo/m-p/2771656#M2061</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2002-07-24T22:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: sudo</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo/m-p/2771657#M2062</link>
      <description>Hi,&lt;BR /&gt;Here i have a working example of sudoers:&lt;BR /&gt;&lt;BR /&gt;overseer ALL = (x400) NOPASSWD: ALL&lt;BR /&gt;overseer ALL = (root) NOPASSWD: /usr/contrib/bin/overpid,/usr/bin/kill&lt;BR /&gt;overseer ALL = (bb) NOPASSWD: /home/bb/bb18c1/runbb.sh&lt;BR /&gt;www ALL = (overseer) NOPASSWD: /home/overseer/checkstatus&lt;BR /&gt;&lt;BR /&gt;Here:&lt;BR /&gt;1. the user 'overseer' can act like x400 without password.&lt;BR /&gt;2. the user 'overseer' can user overpid and kill as root without password&lt;BR /&gt;3. the user 'overseer' can use runbb.sh as 'bb' without password&lt;BR /&gt;4. here the user 'www' can user checkstatus as user 'overseer'.&lt;BR /&gt;&lt;BR /&gt;Works quit well, only sometimes it is better to use techniques like stickybits etcetera.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ceesjan</description>
      <pubDate>Thu, 25 Jul 2002 08:51:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo/m-p/2771657#M2062</guid>
      <dc:creator>Ceesjan van Hattum</dc:creator>
      <dc:date>2002-07-25T08:51:44Z</dc:date>
    </item>
  </channel>
</rss>

