- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Big Trouble Part 2
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
01-09-2003 01:01 AM
01-09-2003 01:01 AM
Big Trouble Part 2
cd /
chmod -R 777 .
Now I am not able to log into the machine (HP-UX 11.00).
I have fixed the /etc/pam.conf
permissions
Now the error message with ...pam.conf... is not longer indicate in the display,
but I am not able to log into the machine .
I have no backup from the system. The system is a HP-UP 2600 Workstation.
If i must reinstall the system, where can i find a good Guidance to do this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 01:03 AM
01-09-2003 01:03 AM
Re: Big Trouble Part 2
try to boot the system in single user mode (ISL> hpux -is). There you still be able to get a prompt and change permissions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 01:07 AM
01-09-2003 01:07 AM
Re: Big Trouble Part 2
i can boot the system in single user mode.
what are the permissions and the files to change?
Thank You
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 01:19 AM
01-09-2003 01:19 AM
Re: Big Trouble Part 2
Do you have another system running 11.0? Then you could check permissions on that system and copy them over.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 01:25 AM
01-09-2003 01:25 AM
Re: Big Trouble Part 2
I suppose you are a german customer. Do you have a valid sw support contract? If so please log a call (and include my name). I remember a possibility to recover permissions with some sd-ux commands.
Thanks, Jochen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 03:04 AM
01-09-2003 03:04 AM
Re: Big Trouble Part 2
yes i am a german customer.
I will check if my company have a support contract. We have leased the workstation at 2.8.2002 with the following support options:
H4401A - SW. Tel.Support.; HW: n??chst. Tag(Mo-Fr. 1J)
Now i am searching for the System Handle an the "
Kennnummer der Support-Vereinbarung oder
Seriennummer".
We don??t have another workstation from this type.
It is very interesting to recover permissions with some sd-ux commands. Can you send me informations over this forum?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 03:22 AM
01-09-2003 03:22 AM
Re: Big Trouble Part 2
Let me describe;
1. In the dir /var/adm/sw/products is very installed product and fileset. In each is an INFO file describing the exact default permissions for each file and directory.
2. For each fileset you can write a script to read these permissions and change them back. I suggest you start in the dir /var/adm/sw/products/OS-Core/
3. for each subdir in this dir cd to it, and do; cat INFO|grep -e file -e path
4. This lists a mode (permissions) followed by 1 or more dirs/files. If lots of files have the same mode then onle 1 mode statement is shown followed by lots of files.
You can then write a script using a for loop to read this and reset your permissions. I suggest you do ALL subdirs under the OS-Core product to start with, then you should be able to boot up aok and fix the rest. Theres a lot to do.
Of course it will be probably quicker to use an ignite make_recovery tape backup to restore your system.
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 03:25 AM
01-09-2003 03:25 AM
Re: Big Trouble Part 2
I think the command you're thinking of is swverify, but I'm not sure that's going to be the magic answer. Without a backup, your best answer is probably going to be re-install.
Good luck,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 03:46 AM
01-09-2003 03:46 AM
Re: Big Trouble Part 2
You could try running something like:
#swverify -x fix=true -x check_permissions=true \*
I've just checked it on one of my products and it fixed all file permissions but not directories. Still, it may be a start.
Regards,
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 03:59 AM
01-09-2003 03:59 AM
Re: Big Trouble Part 2
just send me an email (jochen dot heuer at hp dot com) and I will check if I can find the document. If you do find the system handle or serial number please include it.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 05:51 AM
01-09-2003 05:51 AM
Re: Big Trouble Part 2
Check:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa5d9a1abbac8d5118ff10090279cd0f9,00.html