- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: SUDO rights
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 06:05 PM
01-23-2007 06:05 PM
I need to give root preveliages to one user "db2root".
How to enable sudo for this user in RHEL.
Please suggest
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 06:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 06:26 PM
01-23-2007 06:26 PM
Re: SUDO rights
and for configuring sudo itself - see http://www.onlamp.com/lpt/a/2680
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 08:19 PM
01-23-2007 08:19 PM
Re: SUDO rights
can you please let me know
from which file i can get the list of command which db2root user runs using sudo
it is not showing in /var/log/sudo.log & /var/log/messages
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 08:26 PM
01-23-2007 08:26 PM
Re: SUDO rights
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 08:41 PM
01-23-2007 08:41 PM
Re: SUDO rights
You can also configure the sudo the send you an e-mail for each sudo execution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 09:01 PM
01-23-2007 09:01 PM
Re: SUDO rights
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.
This will be very helpful for me for monitoring purpose
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 09:44 PM
01-23-2007 09:44 PM
Re: SUDO rights
Defaults:ALL mailto="email_address@domain",mail_always
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2007 12:19 AM
01-24-2007 12:19 AM
Re: SUDO rights
This entry is sending me the email after each command
is it possible that can i get the list of command which were run in last 24 hours in 1 mail.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2007 01:15 AM
01-24-2007 01:15 AM
Re: SUDO rights
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2007 02:43 AM
01-24-2007 02:43 AM
Re: SUDO rights
But the output of `grep sudo /var/log/secure` will be all days,
I want just for the last 24 hours on daily basis.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2007 05:07 AM
01-24-2007 05:07 AM
Re: SUDO rights
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 :
`cat /var/log/secure|grep sudo |grep $previous_date`.
If no one will provide you with such script example-I'll try post it as soon as I'll get to Linux machine...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2007 06:00 AM
01-24-2007 06:00 AM