- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- URGENT - root lost execution permission
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
11-16-2001 03:18 PM
11-16-2001 03:18 PM
URGENT - root lost execution permission
Help! I goofed and cause root to lose execution permission. I'm signed in a root but when I do any command (ls or cp ) I got this message: sh: l: Execute permission denied.
Any help appreciate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 03:28 PM
11-16-2001 03:28 PM
Re: URGENT - root lost execution permission
/usr/bin/env
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 04:02 PM
11-16-2001 04:02 PM
Re: URGENT - root lost execution permission
And whatever you do, DON'T LOG OUT TILL THIS PROBLEM IS FIXED TO YOUR SATISFATION!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 04:23 PM
11-16-2001 04:23 PM
Re: URGENT - root lost execution permission
2. If you cannot do so with the current root login, do not log out.
3. Open another session, login in with an su account having root priviledge or sysadm. Look in the .sh_history file an undue what might have been done.
Hope this helps.
Good luck.
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 04:33 PM
11-16-2001 04:33 PM
Re: URGENT - root lost execution permission
I suspect that your libdld.sl has got corrupted. Can you ftp into this machine, 'cd /usr/lib', and tell us what 'ls *dld*' shows?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2001 07:53 PM
11-16-2001 07:53 PM
Re: URGENT - root lost execution permission
Did you accidentally mass remove the executable permissions from all the files in /usr/bin?
Check the permissions:
# /sbin/ls -la /usr/bin/ls
# /sbin/ls -la /usr/bin/cp
If the execute bits are not present, since /usr/bin/chmod might have the execute bits removed as well, set permissions by:
# /sbin/chmod +x /usr/bin/*
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2001 02:38 AM
11-17-2001 02:38 AM
Re: URGENT - root lost execution permission
Hope this helps.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2001 12:27 PM
11-23-2001 12:27 PM
Re: URGENT - root lost execution permission
Thanks.
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 07:53 AM
11-27-2001 07:53 AM
Re: URGENT - root lost execution permission
I'm sorry for the delay response but I needed to bring that machine up fast so I rebooted the system to single user mode; however that did NOT work either - the system complain "...exec /usr/lbin error..". In the end I would have to Ignite the server from the tape.
Before rebooting the server I tried to do a simple command such as: ls, cat or more it did not work thus I was not able to look into the .sh_history file to see what happened . I was able to do cd and pwd - nothing more. Steven I did not get your response in time to try you suggestion but it was the permission that was the problem, if this happened again (which I hope not) I will try your suggestion. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 09:33 AM
11-27-2001 09:33 AM
Re: URGENT - root lost execution permission
Bill Hassell, sysadmin