- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Security of files
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
03-11-2002 09:37 AM
03-11-2002 09:37 AM
Security of files
eg, rxw------ pepe
chmod 777 pepe --> rwxrwxrwx
and then return to rwx------, but I unknown the before premisions.
MDF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2002 09:39 AM
03-11-2002 09:39 AM
Re: Security of files
There is no "undo" feature in HP-UX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2002 09:43 AM
03-11-2002 09:43 AM
Re: Security of files
You could always play it safe and make a copy with that retains the previous permissions.
i.e...
cp -p file1 file1.orig
the -p will retain all the info in it's original format.
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2002 09:43 AM
03-11-2002 09:43 AM
Re: Security of files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2002 09:44 AM
03-11-2002 09:44 AM
Re: Security of files
Sorry, there is no command to figure out what was the old permission/ownership of the file. You would need the backup copy of the file.
If it is a system file, you can quickly check it up on another system.
-raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2002 09:49 AM
03-11-2002 09:49 AM
Re: Security of files
http://www.infosecuritymag.com/2002/mar/testcenter.shtml
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2002 09:53 AM
03-11-2002 09:53 AM
Re: Security of files
Like Patrick said, most backup software allows you to list the files on the backup media and they usually include the owner, group, file permissions, size, and date of the files.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 01:01 AM
03-15-2002 01:01 AM
Re: Security of files
Apart from checking out the previous permissions of files from backup media, you can also track the changes by making use of mkpdf, pdfck and pdfdiff.
You can run this every 24 hours or more frequently to detect changes to your files (such as permissions) and identify the changes that have taken place. pdfck and pdfdiff will inform accordingly.
Hope this helps. Regards.
Steven Sim Kok Leong