HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX: AUTH-root, pwd-/, 'chmod 777 *' execution!!
Operating System - HP-UX
1836380
Members
2455
Online
110100
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
11-02-2005 04:03 PM
11-02-2005 04:03 PM
Server : HP-UX
root authority,
directory : / (root),
execution : 'chmod 777 *'
how restore??
help~
root authority,
directory : / (root),
execution : 'chmod 777 *'
how restore??
help~
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2005 04:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2005 12:04 AM
11-03-2005 12:04 AM
Re: HP-UX: AUTH-root, pwd-/, 'chmod 777 *' execution!!
# swverify -v -x fix=true \*
From the man page at http://docs.hp.com/en/B2355-90692/swverify.1M.html
fix=false If true, runs vendor-specific scripts to correct and report problems on installed software. Fix scripts can create missing directories, correct file modifications, (mode, owner, group, major, minor), and recreate symbolic links. If false, fix scripts are not run.
From the man page at http://docs.hp.com/en/B2355-90692/swverify.1M.html
fix=false If true, runs vendor-specific scripts to correct and report problems on installed software. Fix scripts can create missing directories, correct file modifications, (mode, owner, group, major, minor), and recreate symbolic links. If false, fix scripts are not run.
"Downtime is a Crime."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2005 01:43 AM
11-03-2005 01:43 AM
Re: HP-UX: AUTH-root, pwd-/, 'chmod 777 *' execution!!
If the command was EXACTLY "chmod 777 *", it might not be that big a problem: you just need to check the permissions of every file and directory at the root level. Everything that is located inside sub-directories should be OK.
If you keep your root directory clean, the command
chmod 555 /dev /etc /home /net /opt /sbin /stand /usr /var
should fix most of the damage.
Check also the permissions of the directories /usr/bin and /usr/lib, because /bin and /lib are symbolic links pointing there.
But if the command was "chmod -R 777 *", you need to fix the permissions of all the files in the system. Restoring from backup might be less painful.
If you keep your root directory clean, the command
chmod 555 /dev /etc /home /net /opt /sbin /stand /usr /var
should fix most of the damage.
Check also the permissions of the directories /usr/bin and /usr/lib, because /bin and /lib are symbolic links pointing there.
But if the command was "chmod -R 777 *", you need to fix the permissions of all the files in the system. Restoring from backup might be less painful.
MK
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP