- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- IT Audits
Operating System - HP-UX
1756728
Members
2601
Online
108852
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО08-06-2009 05:38 AM
тАО08-06-2009 05:38 AM
IT Audits
Hi Guys, i am doing an IT audit right now and am asked to show the following:
1) /etc/sudoers
2) List of users having full sudo access to all commands.
3) Run the following commands:
a) #find/ -name root -perm -4000 -print
b) #find/ -name -perm -2000 -print
c) #find/ -name root -perm -4000 | sum>today
I am wondering though what this find command is doing. When i run it i dont get any output what does that mean.
Thanks
1) /etc/sudoers
2) List of users having full sudo access to all commands.
3) Run the following commands:
a) #find/ -name root -perm -4000 -print
b) #find/ -name -perm -2000 -print
c) #find/ -name root -perm -4000 | sum>today
I am wondering though what this find command is doing. When i run it i dont get any output what does that mean.
Thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 05:53 AM
тАО08-06-2009 05:53 AM
Re: IT Audits
Hi khilari,
no output means you are on the save side ;-)
Wild Guess, it is a SAP Audit?
http://www.auditnet.org/docs/SAP_AP2.doc
"11. Perform a find command to identify all suid and sgid programs that are owned by root. Using
this output sum the result to compare from one day to the next to track differences. The diff
command can be used to identify any changes that have occurred."
no output means you are on the save side ;-)
Wild Guess, it is a SAP Audit?
http://www.auditnet.org/docs/SAP_AP2.doc
"11. Perform a find command to identify all suid and sgid programs that are owned by root. Using
this output sum the result to compare from one day to the next to track differences. The diff
command can be used to identify any changes that have occurred."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 05:56 AM
тАО08-06-2009 05:56 AM
Re: IT Audits
If those find commands are correct, I'm not surprised that you didn't get any output. The first is looking for files named "root" with permissions of 4000 (assuming there is a space in between "find" and "/" when you actually run it). The second one is looking for files name "-perm" with permission of 2000 (with the same assumption). And the third is once again looking for files name "root".
Pete
Pete
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 06:10 AM
тАО08-06-2009 06:10 AM
Re: IT Audits
yep...take right out of the audit manual....which is probably wrong.
It's far more likely they want "-user root", instead of "-name root".
of course, you could skip the name / user bit, and just look for the perms. You should be able to justify anything found. And you could "-o" the conditions so that you don't have to make 3 passes as shown.
of course, you could just provide them *exactly* what they asked for... I'd be tempted to do the later.
It's far more likely they want "-user root", instead of "-name root".
of course, you could skip the name / user bit, and just look for the perms. You should be able to justify anything found. And you could "-o" the conditions so that you don't have to make 3 passes as shown.
of course, you could just provide them *exactly* what they asked for... I'd be tempted to do the later.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP