- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- commnd to find All world writable files in hpux 11...
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
Discussions
Discussions
Discussions
Forums
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
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
тАО04-27-2004 03:14 AM
тАО04-27-2004 03:14 AM
help.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 03:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 03:20 AM
тАО04-27-2004 03:20 AM
Re: commnd to find All world writable files in hpux 11.0 system ?
For directories-world writable
find . -type f -perm "0004" -exec ll {} \;
For world writable files
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 04:04 AM
тАО04-27-2004 04:04 AM
Re: commnd to find All world writable files in hpux 11.0 system ?
my 2 cents
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 04:18 AM
тАО04-27-2004 04:18 AM
Re: commnd to find All world writable files in hpux 11.0 system ?
RAC-
find . -type f -perm "0004" -exec ll {} \;
command yields nothing although I know there are world writable files in that directory ( ( I created 777 file and directory)
See below I created SAM directory and test file will full perms on server potion.
===================
potion:mkdir SAM
potion:chmod 777 SAM
potion:find . -type d -perm "0004" -exec ll {} \;
potion:find . -type d -perm "0004" -exec ls -d {} \;
potion:ls -ld SAM
drwxrwxrwx 2 root sys 96 Apr 27 12:13 SAM
potion:touch test
potion:chmod 777 test
potion:find . -type f -perm "0004" -exec ll {} \;
potion:find . -type f -perm "0004" -exec ls -d {} \;
========================================
Rodney- adding -d still does nothing. see above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 04:23 AM
тАО04-27-2004 04:23 AM
Re: commnd to find All world writable files in hpux 11.0 system ?
For directories-world writable
find . -type f -perm "0002" -exec ll {} \;
For world writable files
I missed it.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 04:28 AM
тАО04-27-2004 04:28 AM
Re: commnd to find All world writable files in hpux 11.0 system ?
To find any file/directory that has public write (and you don't care about the other permissions).
find . -type d -perm -0002 -exec ll -d {} \;
The "-" in front of 0002 tells find to ignore the other permission bits and only look at public write.
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2004 04:33 AM
тАО04-27-2004 04:33 AM