- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: unable to rlogin/rsh is shell is non-standard ...
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
05-03-2001 06:59 AM
05-03-2001 06:59 AM
unable to rlogin/rsh is shell is non-standard (bash/tcsh)
However, if a user who has his/her shell set to bash/tcsh attempts to rlogin, it hangs and I have to kill that PID for bash/tcsh. But if I set the user's shell to /sbin/sh, he/she can rlogin without issue, plus can then run /bin/bash after having logged on.
I know I'm missing something basic here, but not even having slept on it last night produced any insight.
Background:
I downloaded the binaries of bash/tcsh from hpux.cs.utah.edu. Initially, I'd simply set up sym links to the installed binaries (/opt/bash/bin/bash) from /bin, after which I've tried copying the binary to /bin, plus I've set the permissions/ownership just as they are for /sbin/sh.
Any help would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 07:12 AM
05-03-2001 07:12 AM
Re: unable to rlogin/rsh is shell is non-standard (bash/tcsh)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 07:12 AM
05-03-2001 07:12 AM
Re: unable to rlogin/rsh is shell is non-standard (bash/tcsh)
Add the shell name (e.g. /usr/bin/bash) to /etc/shells. If you do not have /etc/shells, then create one with the stand shells plus the ones you want to allow. It should look something like:
#...Standard Shells...
#
/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/bin/keysh
#
#...Non_Standard Shells...
#
/usr/bin/tcsh
/usr/bin/bash
#_end
See 'man 4 shells'.
Also: /bin is an old transition (link) directory. It points to /usr/bin by default, but you should reference /usr/bin so that when the day finally comes...
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 07:25 AM
05-03-2001 07:25 AM
Re: unable to rlogin/rsh is shell is non-standard (bash/tcsh)
Also, I *am* able to rlogin if I set my shell to /sbin/sh.
Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2001 08:11 AM
05-04-2001 08:11 AM
Re: unable to rlogin/rsh is shell is non-standard (bash/tcsh)
It doesn't really seem like an HP-UX problem, though I'd originally hoped that someone would come along and say "I had the same problem, and you know what fixed it? ....", but alas.
Thanks though, as always, for all of your help on this issue, and so many others that save me from having post more often than not! These forums are a _true_ knowledge base!
Patrick