- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DBA's allowed to run sudo commands
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
11-14-2001 11:50 AM
11-14-2001 11:50 AM
Laurie
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 11:53 AM
11-14-2001 11:53 AM
SolutionI don't see a security problem per say, but if you give them kmtune you are exposing your kernel. I would say it depends on the dba but my response to a dba would be no. Sometimes it is better to just provide them information instead of letting them do the work.
Just my opinion,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 11:53 AM
11-14-2001 11:53 AM
Re: DBA's allowed to run sudo commands
kmtune can be used to configure / set the kernel parameter. "kmtune -s", note s is in small character. I won't advise your DBA to be allowed using kmtune. If they want a list of kernel parameter, take a printout of kernel parameter using "kmtune -S /stand/system" and give them a printout. This is what we do at our site.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 11:54 AM
11-14-2001 11:54 AM
Re: DBA's allowed to run sudo commands
All kidding aside, just set up a script to do it. then chown root script.sh, then chmod 4555 srcipt.sh.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 11:54 AM
11-14-2001 11:54 AM
Re: DBA's allowed to run sudo commands
Since kmtune can also be used to set kernel parameters, don't give unrestricted access to it. Use sudo on a script that does exactly what you want to allow and you should be fine.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 11:56 AM
11-14-2001 11:56 AM
Re: DBA's allowed to run sudo commands
Let me ask this: How often is this information going to change? Why not generate the data for them and just hand it (or web-post it) for their use?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2001 07:43 AM
11-15-2001 07:43 AM
Re: DBA's allowed to run sudo commands
Sometimes it is not neccessary to make life harder than it is :-)>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2001 08:03 AM
11-15-2001 08:03 AM
Re: DBA's allowed to run sudo commands
I saw Tim's post and just checked my system. The kmtune command is listed in /usr/sbin. My users don't have this path specified by default in their profile. However then can use /usr/sbin/kmtune -S /stand/system to get the list of kernel parameters.
If they try to change the parameter using /usr/sbin/kmtune -s par_name(+/-)some_value -S /stand/system they get an error message saying "kmtune: Directory permission denied to write file -- /stand".
So i guess, your DBA's can use kmtune to get the kernel parameters.
Thanks Tim for pointing out the errors we all made in not checking the same yesterday.
Regd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2001 08:04 AM
11-15-2001 08:04 AM
Re: DBA's allowed to run sudo commands
If you give the dba kmtune through sudo, you have given them the ability to make the changes discussed. The issue was really sudo and not kmtune per say...
At least that was my take.
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2001 08:16 AM
11-15-2001 08:16 AM
Re: DBA's allowed to run sudo commands
When I try is as a normal user I get:
kmtune: Cannot write file -- /stand/.kmsystune_lock
/stand has 555 perms on my systems and should stay that way so that normal users can't write to it.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 07:35 AM
07-24-2006 07:35 AM
Re: DBA's allowed to run sudo commands
kmtune: Cannot write file -- /stand/.kmsystune_lock