- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- chown command! need help!
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
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
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
тАО12-15-2005 10:58 PM
тАО12-15-2005 10:58 PM
I've mistaken doing command chown.
I did
#chown -R root:sys /
and then pressed Enter.
In what files or folders I've changed ownership?
Is it possible to rool back?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 11:17 PM
тАО12-15-2005 11:17 PM
SolutionThe only rollback I figure is to restore from your Ignite tape. But since I'm not a system administrator guru wait for them before doing anything more or open a call at HP...
Best Regards,
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 11:26 PM
тАО12-15-2005 11:26 PM
Re: chown command! need help!
you have changed owner and group for all files in your system :(
there is no normal roolback method, you can restore system from backup or restore to another server and collect permissions in shell script which can be used in your primary server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 11:33 PM
тАО12-15-2005 11:33 PM
Re: chown command! need help!
Have you interrupted the command execution anytime ? if not, you have changed ownership of ALL files and folders. Only way is to Ignite your system.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 11:44 PM
тАО12-15-2005 11:44 PM
Re: chown command! need help!
Fast solution woould be to restore ignite backup if you have one.
regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 11:48 PM
тАО12-15-2005 11:48 PM
Re: chown command! need help!
The only way is restoring the server. Ignite for system and restore or reinstall the applications and databases. :-(
Regards,
Borislav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 11:49 PM
тАО12-15-2005 11:49 PM
Re: chown command! need help!
If you are running 11.11 or higher:
# swverify -F \* @ /
...will handle the files and directories in the IPD (Installed Product Database) *but* you may have changed ownership on files and directories in non-vg00 filesystems too!
As mentioned, you could also use an Ignite recovery tape to recover vg00.
I'm afraid that you have a significant amount of recovery and detective work to do. Good luck.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2005 12:09 AM
тАО12-16-2005 12:09 AM
Re: chown command! need help!
Find another system and check the ownership of files on that box and chown one dir at a time.
/etc
/sbin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2005 12:10 AM
тАО12-16-2005 12:10 AM
Re: chown command! need help!
/etc/
/sbin
are the first and most important to get / keep things running on the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2005 12:57 AM
тАО12-16-2005 12:57 AM
Re: chown command! need help!
Else Ignite...
007