- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-Unix with BASH
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
07-17-2006 04:22 AM
07-17-2006 04:22 AM
HP-Unix with BASH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 04:25 AM
07-17-2006 04:25 AM
Re: HP-Unix with BASH
Never use bash for root (in /etc/passwd) for HP-UX!
Hope 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
07-17-2006 04:27 AM
07-17-2006 04:27 AM
Re: HP-Unix with BASH
BASH is not installed by default in HP-UX. You need to download and install from either of these.
1) Bash is part of TCOpensource which is supported by HP-UX
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123
2) Also, it is part of Linux porting kit
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9891AA
3) Download and install from HP-UX porting center,
http://hpux.connect.org.uk/hppd/hpux/Shells/bash-3.1.16/
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 04:30 AM
07-17-2006 04:30 AM
Re: HP-Unix with BASH
Unless you can get bash to work with the same behavior than the posix shell.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 04:31 AM
07-17-2006 04:31 AM
Re: HP-Unix with BASH
You can install a bash shell, but most bash scripts will work unmodified with HP-UX merely by modifying the shell variable.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 05:09 AM
07-17-2006 05:09 AM
Re: HP-Unix with BASH
"Never use bash for root (in /etc/passwd) for HP-UX!"
why.. is that will cause problems..?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 05:15 AM
07-17-2006 05:15 AM
Re: HP-Unix with BASH
Using other than '/sbin/sh' for root will lead to a system that doesn't startup!
In the early stages of the startup sequence *before* '/usr' is mounted, or if you need to bring a system up only as far as single-user mode, no command has access to '/usr'.
Shells other than '/sbin/sh', that reside in '/usr' have dynamically-linked libraries which reduces their runtime memory requirements. Since these libraries also reside in the '/usr' directory, they can't run until '/usr' is mounted. Hence, you *must* use '/sbin/sh' as the default shell for 'root'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 05:29 AM
07-17-2006 05:29 AM
Re: HP-Unix with BASH
Otherwise the system will end in single user mode with some errors like "no shell".
Hope 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
07-17-2006 09:10 PM
07-17-2006 09:10 PM
Re: HP-Unix with BASH
thanks