Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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
02-12-2001 07:29 AM
02-12-2001 07:29 AM
It might be a silly question to ask...but still... being a toddler in HP-UX...i think i can ask :-)
My question is ... What is the prerequisite for remsh to work?
Thanks in advance !
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2001 07:34 AM
02-12-2001 07:34 AM
Re: remsh
For remsh to work from hosta to hostb you need:
on hosta:
nslookup hostb working
on hostb:
nslookup hosta working
.rhosts file in user's home directory contining one line with 'hosta'
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2001 07:56 AM
02-12-2001 07:56 AM
Re: remsh
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2001 09:03 AM
02-12-2001 09:03 AM
SolutionIn order for 'remsh' to work, you must have the 'shell' port defined in /etc/services, and the following line in /etc/inetd.conf :
shell stream tcp nowait root /usr/lbin/remshd remshd
To enable 'rexec', define the 'exec' service in /etc/services and the following in /etc/inetd.conf :
exec stream tcp nowait root /usr/lbin/rexecd rexecd
'rexec' works the same as 'remsh', except that 'rexec' prompts for a password before executing the command instead of querying the hosts.equiv for authentication.
Thus, 'rexec' can be substituted for 'remsh' in situations were there are no hostequiv(alent) files.
In order to use 'rcp', however, you must have hosteqivalent files setup. 'rcp' uses the 'remshd' server.
See the man pages for 'remshd (1M)', 'rexecd (1M)', and 'hosts.equiv (4).
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2001 09:54 AM
02-12-2001 09:54 AM
Re: remsh
There can be two types of files for ident checking.
1. $HOME/.rhosts
2. /etc/hosts.equiv
both are identical in the respect that it is a file, containing single host entries granting access to "rsh", "rexec", etc... to that host. For users sake, I maintain an "/etc/hosts.equiv" file, and have a script removing "$HOME/.rhosts". This allows me to control who is allowed to access which host and from where they can access.
NOTE: /etc/hosts.equiv DOES NOT WORK for root( I believe that all UID's under 10 are restricted to $HOME/.rhosts) Correct me if I am wrong on that one please!
Permissions on an /etc/hosts.equiv file should be 444 (read, read, read). Permissions on a $HOME/.rhosts file should be 400 (read, none, none).
Permissions are not required, but are good to have set!
Regards,
Shannon