- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Installing 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
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
тАО01-01-2009 01:18 AM
тАО01-01-2009 01:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2009 01:58 AM
тАО01-01-2009 01:58 AM
Re: Installing bash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2009 05:00 AM
тАО01-01-2009 05:00 AM
Solution>ahsan: change the SHELL parameter in /etc/profile
This is next to useless. If you want to change the shell, you edit /etc/passwd or use chsh(1).
You may also have to add bash to /etc/shells.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2009 06:45 AM
тАО01-01-2009 06:45 AM
Re: Installing bash
>> I want to install bash and use it instead of sh
What should i do?<<
For which "user id" you need to change...?
for "root" account "NO" "NO" you should not change
how to change the shell for "user id"
Check the below file "to check you have bash shell exits in you server"
# strings /etc/shells
than proceed as below
you need root access to change
Example:-
vi /etc/passwd
user1:*:133:20:For Database Access,,,:/home/user1:/usr/bin/sh --> erase and change to /usr/bin/bash
or
you Use SAM ->User & Groups->User->select the User -->modify
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2009 07:07 AM
тАО01-01-2009 07:07 AM
Re: Installing bash
Why i can not change the root 's SHELL to bash.
The bash is not installed on my OS.
HP-UX 11.23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2009 08:00 AM
тАО01-01-2009 08:00 AM
Re: Installing bash
as noted above, once you've downloaded and installed bash, you can start it from the command line once you are logged in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2009 08:05 AM
тАО01-01-2009 08:05 AM
Re: Installing bash
> bash.
In single-user mode, many file systems may
not be mounted, including the ones with the
run-time libraries which "bash" normally
needs. /bin/sh does not need these
libraries, so it works even when "/" is the
only mounted file system.
You might be able to do something like
exec bash
at the end of root's ".profile" file. If it
works, you'll be running "bash". If it
fails, you should still be ok (still running
/bin/sh).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2009 10:10 AM
тАО01-01-2009 10:10 AM
Re: Installing bash
The command is chsh(1), root not needed.
>Check /etc/shells "to check if bash shell exists in your server"
You only need to update shells(4) if you want to use ftp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2009 10:54 AM
тАО01-10-2009 10:54 AM
Re: Installing bash
http://forums.itrc.hp.com/service/forums/helptips.do?#33
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2009 09:37 PM
тАО01-24-2009 09:37 PM