<?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 rights in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931753#M26822</link>
    <description>IIRC, it should be under /var/log/messages or /var/log/security</description>
    <pubDate>Wed, 24 Jan 2007 04:26:00 GMT</pubDate>
    <dc:creator>Vitaly Karasik_1</dc:creator>
    <dc:date>2007-01-24T04:26:00Z</dc:date>
    <item>
      <title>SUDO rights</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931749#M26818</link>
      <description>Hi,&lt;BR /&gt;I need to give root preveliages to one user "db2root".&lt;BR /&gt;&lt;BR /&gt;How to enable sudo for this user in RHEL.&lt;BR /&gt;&lt;BR /&gt;Please suggest&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Wed, 24 Jan 2007 02:05:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931749#M26818</guid>
      <dc:creator>praveen..</dc:creator>
      <dc:date>2007-01-24T02:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO rights</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931750#M26819</link>
      <description>as root run visudo.&lt;BR /&gt;The add a line to the end of the file:&lt;BR /&gt;db2root ALL=(ALL) ALL&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;save and close.&lt;BR /&gt;Not db2root can execute any command by running:&lt;BR /&gt;sudo &lt;COMMAND&gt;&lt;BR /&gt;By default he'll be prompted for his password, which can also be eliminated.&lt;/COMMAND&gt;</description>
      <pubDate>Wed, 24 Jan 2007 02:26:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931750#M26819</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-01-24T02:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO rights</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931751#M26820</link>
      <description>first at all, you should decide which command[s] this user should be able to run as root.&lt;BR /&gt;&lt;BR /&gt;and for configuring sudo itself - see &lt;A href="http://www.onlamp.com/lpt/a/2680" target="_blank"&gt;http://www.onlamp.com/lpt/a/2680&lt;/A&gt;</description>
      <pubDate>Wed, 24 Jan 2007 02:26:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931751#M26820</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2007-01-24T02:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO rights</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931752#M26821</link>
      <description>Thanks&lt;BR /&gt;&lt;BR /&gt;can you please let me know&lt;BR /&gt;&lt;BR /&gt;from which file i can get the list of command which db2root user runs using sudo&lt;BR /&gt;&lt;BR /&gt;it is not showing in /var/log/sudo.log &amp;amp; /var/log/messages&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 24 Jan 2007 04:19:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931752#M26821</guid>
      <dc:creator>praveen..</dc:creator>
      <dc:date>2007-01-24T04:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO rights</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931753#M26822</link>
      <description>IIRC, it should be under /var/log/messages or /var/log/security</description>
      <pubDate>Wed, 24 Jan 2007 04:26:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931753#M26822</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2007-01-24T04:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO rights</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931754#M26823</link>
      <description>Executed command are listed in /var/log/secure.&lt;BR /&gt;You can also configure the sudo the send you an e-mail for each sudo execution.</description>
      <pubDate>Wed, 24 Jan 2007 04:41:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931754#M26823</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-01-24T04:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO rights</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931755#M26824</link>
      <description>hi,&lt;BR /&gt;thank you very much. can you please let me know how to configure the sudo the send me an e-mail for each sudo execution.&lt;BR /&gt;&lt;BR /&gt;This will be very helpful for me for monitoring purpose&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jan 2007 05:01:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931755#M26824</guid>
      <dc:creator>praveen..</dc:creator>
      <dc:date>2007-01-24T05:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO rights</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931756#M26825</link>
      <description>Add the following line to /etc/sudoers (run visudo to edit):&lt;BR /&gt;Defaults:ALL mailto="email_address@domain",mail_always</description>
      <pubDate>Wed, 24 Jan 2007 05:44:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931756#M26825</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-01-24T05:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO rights</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931757#M26826</link>
      <description>Hi Alex,&lt;BR /&gt;This entry is sending me the email after each command&lt;BR /&gt;&lt;BR /&gt;is it possible that can i get the list of command which were run in last 24 hours in 1 mail.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 24 Jan 2007 08:19:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931757#M26826</guid>
      <dc:creator>praveen..</dc:creator>
      <dc:date>2007-01-24T08:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO rights</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931758#M26827</link>
      <description>you can create a crontab entry that will run on a daily basis and send you an e-mail with the output of `grep sudo /var/log/secure`.&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jan 2007 09:15:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931758#M26827</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-01-24T09:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO rights</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931759#M26828</link>
      <description>Hi Alex,&lt;BR /&gt;&lt;BR /&gt;But the output of `grep sudo /var/log/secure` will be all days,&lt;BR /&gt;&lt;BR /&gt;I want just for the last 24 hours on daily basis.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 24 Jan 2007 10:43:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931759#M26828</guid>
      <dc:creator>praveen..</dc:creator>
      <dc:date>2007-01-24T10:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO rights</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931760#M26829</link>
      <description>AFAIK,all entries in log file include dates.&lt;BR /&gt;So the script, which will be executed at 00:00 for example, based on current date, should calculate the previous date and send you the output of :&lt;BR /&gt;`cat /var/log/secure|grep sudo |grep $previous_date`.&lt;BR /&gt;&lt;BR /&gt;If no one will provide you with such script example-I'll try post it as soon as I'll get to Linux machine...</description>
      <pubDate>Wed, 24 Jan 2007 13:07:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931760#M26829</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-01-24T13:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO rights</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931761#M26830</link>
      <description>You can also force logrotate to rotate daily the /var/log/secure file.</description>
      <pubDate>Wed, 24 Jan 2007 14:00:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sudo-rights/m-p/3931761#M26830</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-01-24T14:00:45Z</dc:date>
    </item>
  </channel>
</rss>

