- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Remshd and kshell
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
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-04-2001 06:34 AM
тАО01-04-2001 06:34 AM
Remshd and kshell
Please, check this situation:
1) I have an SP/AIX 4.3.3 System running Kerberos V5 authentication.
2) I have 2 HP-UX 10.20 that don't have Secure Internet Services installed. I will name them System A and System B for future references. Both systems have the inetd logging activated.
3) When I issue a remsh command from AIX system to HP System A, the request is answered by the service "shell" and works fine.
4) When I issue a remsh command from AIX system to HP System B, the request is answered by the service "kshell" and thus fails, once I don't have the secure service. If I comment the line of the service "kshell" in the inetd.conf file, it answers normally through the service "shell" and the remsh works fine.
I can't find any difference between the systems. The services for kshell are defined in the same way on both systems.
At the man pages of inetd, I can see:
"For stream services, inetd listens for connection requests on Internet stream sockets. When a connection is requested for one of its sockets, inetd decides which service the socket will support(...)"
Do you know why there are different "decisions" from inetd on each system ?
Thanks,
Leila
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2001 06:49 AM
тАО01-04-2001 06:49 AM
Re: Remshd and kshell
I would take a look at /etc/services and see if those two were identical. /etc/services maps port numbers that inetd listens to to the service name.
--Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2001 07:25 AM
тАО01-04-2001 07:25 AM
Re: Remshd and kshell
inetd -c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2001 07:42 AM
тАО01-04-2001 07:42 AM
Re: Remshd and kshell
You asked 'Do you know why there are different "decisions" from inetd on each system ?'
I guess that, in file /etc/services, the port numbers associated to the services must be different. Did you check them?
The inetd daemon only recognizes services by port numbers and not by names so, the same service (same number) with different names associated could explain that behavior.
If you make any change, don't forget to force inetd to re-read the configuration file with 'inetd -c' or with 'inetd -k; inetd'
Sorry but I don't have any AIX at hand to check this.
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2001 07:57 AM
тАО01-04-2001 07:57 AM
Re: Remshd and kshell
the /etc/services files are identical as well as inetd.conf.
These are /etc/services entries:
shell 514/tcp cmd # remote command, no passwd used
kshell 544/tcp krcmd # Kerberos remote shell -kfall
These are /etc/inetd.conf entries:
shell stream tcp nowait root /usr/lbin/remshd remshd
kshell stream tcp nowait root /usr/lbin/remshd remshd -K
It seems to be related to any criteria used by inetd that differs from one system to another.
Any suggestion ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2001 08:12 AM
тАО01-04-2001 08:12 AM
Re: Remshd and kshell
Havent you a .rhost on the machine A, and not on B.
Just thoughts... because Ive seen many times the usage of such files to bypass kerberos...
Good luck
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2001 08:42 AM
тАО01-04-2001 08:42 AM
Re: Remshd and kshell
Unfortunatelly, I've checked this and both systems are identical. They use the .rhosts file on root's home.
The most interesting for me is that when I comment the kshell service in the inetd.conf file, the inetd uses shell normally !!! I can use this solution, but I would like to understand...
Victor, I don't know why I don't have the chance to assign points to your answer. Beside your name, instead of "assign points" icon, I have "[unassigned]" :-(
Leila