- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to configure bash on a user account ?
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
04-25-2008 04:44 AM
04-25-2008 04:44 AM
How to configure bash on a user account ?
I have just downloaded bash-3.2 and installed it in an hp unix 11.23.
What is left to be done now ?
How will I configure it to take advantage of it ?
What is the configuration process of bash on a user account ?
Regards,
Berag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2008 04:55 AM
04-25-2008 04:55 AM
Re: How to configure bash on a user account ?
1. Run bash
and see if you are getting the expected behaviour.
2. create a test account to use the bash shell.
check that on your /etc/passwd, it is configured accordingly:
e.g
yogeeraj:VbpTpE38txwlY:128:20:Yogeeraj,,,:/home/yogeeraj:/usr/bin/bash
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2008 05:00 AM
04-25-2008 05:00 AM
Re: How to configure bash on a user account ?
the user can run it manually after login - 'bash' - or you make it to his start shell like yogeeraj mentioned.
Hint: you shall not make bash the start shell for 'root' - not all directories are there when you go to single user mode.
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2008 06:51 AM
04-25-2008 06:51 AM
Re: How to configure bash on a user account ?
usermod -s abs_path_of_bash username
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2008 09:07 PM
04-25-2008 09:07 PM
Re: How to configure bash on a user account ?
You can also use chsh(1). It also has -r options for NIS, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2008 01:05 AM
04-26-2008 01:05 AM
Re: How to configure bash on a user account ?
#which bash
/usr/bin/bash
It will give you the path of the bash. As Yogeeraj explained, just test with a new user or change the shell of an existing normal user to test it.
Regards,
Rasheed Tamton.