- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- changes on /bin/sh from 11.11 to /usr/bin/sh
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
12-06-2008 07:44 AM
12-06-2008 07:44 AM
I have user1 in HPUX 11.11 with /bin/sh as shell. With this user1, I am able to do ftp without any problem on 11.11. When I installed HPUX 11.23 and created the same user1 with /bin/sh shell, I'm not able to do ftp on 11.23. But if I change the shell to /usr/bin/sh , I'm able to do ftp. Is this the new way of assigning shell to the users on 11.23 versions? Any explanation will be appreciated.
cheers!
krs
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2008 07:57 AM
12-06-2008 07:57 AM
Re: changes on /bin/sh from 11.11 to /usr/bin/sh
This is not a useful description of what you
did, or of what happened when you did it.
My (weak) psychic powers say "echo $PATH".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2008 08:01 AM
12-06-2008 08:01 AM
SolutionYou either need to change to '/usr/bin/sh' ('/bin/sh' is only a symbolic link to it on HP-UX) or add '/bin/sh' to the '/etc/shells' file in addition to:
/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/bin/keysh
If you don't have an '/etc/shells' or the file isn't readable, this is the standard set of shells assumed. To FTP you need an account with a shell that is specified therein. You can create an 'etc/shells' file to meet your needs if necessary.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2008 06:18 PM
12-06-2008 06:18 PM
Re: changes on /bin/sh from 11.11 to /usr/bin/sh
And JRF is correct, you have to add the name to /etc/shells, like I do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2008 09:05 PM
12-06-2008 09:05 PM
Re: changes on /bin/sh from 11.11 to /usr/bin/sh
As mentioned above by
>>Dennis, JRF <<
/etc/shells --> contains shells available in HPUX , if you have doubt before assinging shell to new user account you can refer to this "/etc/shells" than assign,
Only ftp user account doesn't require shell it could carry "false"
Explanation:-
you hit this problem suspecting you would have used command useradd to creat new-user accounts by pointing /bin/sh , which doesn't exits under HPUX,
if you would have used "SAM" creat new_user account "you choice to chose prefered shell"
Thanks,
Johnson