- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: root default shell
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
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
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
тАО04-20-2010 10:38 PM
тАО04-20-2010 10:38 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 10:43 PM
тАО04-20-2010 10:43 PM
SolutionHope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 10:48 PM
тАО04-20-2010 10:48 PM
Re: root default shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 10:57 PM
тАО04-20-2010 10:57 PM
Re: root default shell
This is /sbin/sh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 11:05 PM
тАО04-20-2010 11:05 PM
Re: root default shell
******************
/bin:This directory contains executable programs which are needed in single user mode and to bring the system up or repair it.
/sbin:Like /bin, this directory holds commands needed to boot the system, but which are usually not executed by normal users.
/usr/bin:This is the primary directory for executable programs. Most programs executed by normal users which are not needed for booting or for repairing the system and which are not installed locally should be placed in this directory.
/usr/sbin:This directory contains program binaries for system administration which are not essential for the boot process, for mounting /usr, or for system repair.
************************
and /usr is not availbale while booting so wee need to have shell which is there in /sbin to have a bootable server.
Hope this help.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 11:21 PM
тАО04-20-2010 11:21 PM
Re: root default shell
This isn't true for HP-UX. What it should say:
This directory is an illusion, it's just smoke and mirrors. See /usr/bin/. :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 11:25 PM
тАО04-20-2010 11:25 PM
Re: root default shell
yeh i check now....i got it from a linux forum :).....
but it was easy to understand to u pasted it...
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 11:26 PM
тАО04-20-2010 11:26 PM
Re: root default shell
> wee need to have shell which is there in
> /sbin to have a bootable server.
More important, you need to have a shell
which does not need any run-time libraries
which are in /usr. If you can figure out a
way to get a completely static link of, say,
"bash", and put it somewhere under "/" (like,
say, "/sbin"), then you'd be ok. But I doubt
that this is possible (for a normal user) on
HP-UX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 11:28 PM
тАО04-20-2010 11:28 PM
Re: root default shell
/sbin/sh is statically linked, so it does not need any libraries to run. It's the only shell that can be started even if your /lib directory is damaged for some reason.
MK