- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: remote services
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
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
06-06-2006 02:39 AM
06-06-2006 02:39 AM
remote services
1) How can I enable the remote services rsh and rcp. This is to, execute commands in a remote server and copy files to a remote server.
2) I need that certain user can use this remote services (rsh, rcp) but without entering a password. This is, the user must not be asked for a password when he issues an rsh or rcp command.
Thank you in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 02:43 AM
06-06-2006 02:43 AM
Re: remote services
need to create .rhosts with hostname and account authorized to connect on the hosts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 02:49 AM
06-06-2006 02:49 AM
Re: remote services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 02:49 AM
06-06-2006 02:49 AM
Re: remote services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 02:53 AM
06-06-2006 02:53 AM
Re: remote services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 02:57 AM
06-06-2006 02:57 AM
Re: remote services
Syntax is "hostname" and account
for example
HostA root
HostA.fqdn root
Services will be starting by default, see to /etc/inetd.conf if not starting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 02:58 AM
06-06-2006 02:58 AM
Re: remote services
A sample .rhots
hostname users
e.g
hpux1 root
hpux2 root
192.1.2.3 root
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 02:59 AM
06-06-2006 02:59 AM
Re: remote services
you need to create a file .rhosts in the home dir of the user that you want enable to rcp. this .rhosts file is in the form:
name_remote_host user
The remote service are enable by default.
Check the /etc/inetd.conf for this.
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 03:08 AM
06-06-2006 03:08 AM
Re: remote services
IP ADDRESS user or
hostname user
Please accept my apologies for the wrong update...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 03:15 AM
06-06-2006 03:15 AM
Re: remote services
It explains everything you should need to know about formating hosts.equiv and .rhosts files.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 05:08 AM
06-06-2006 05:08 AM
Re: remote services
# cat /etc/hosts.equiv
ias01.lc.org root
ias02.lc.org root
# cat $HOME/.rhosts
ias01.lc.org root
ias02.lc.org root
# /usr/bin/rsh ias02.lc.org date
/usr/bin/rsh: /usr/bin/rsh: The operation is not allowed in a restricted shell.
Config files are identical in both nodes.
rcp command works properly (without password) in both servers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 05:30 AM
06-06-2006 05:30 AM
Re: remote services
Format Function
------ --------
+ or - hostname username Allows password free access for any user
hostname Allows password free access for any user
-hostname Denies password free access for any user
hostname -user or group Denies password free access for user/group
if they log in from that hostname
hostname user/group Allows password free access for user/group
if they log in from that hostname
+ user/group Allows password free access for user/group
from any system
+ Allows any user password free access from
any system
Please try putting + if existing one is not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 05:47 AM
06-06-2006 05:47 AM
Re: remote services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 09:57 PM
06-06-2006 09:57 PM
Re: remote services
try remsh ias02.lc.org date
it will be fine