- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to enable rcp...
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
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
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
тАО10-26-2005 05:15 PM
тАО10-26-2005 05:15 PM
How to enable rcp...
I have a question, can anyone give me solutions?
I want to disable rlogin service to prevent unauthorize user between some systems (HP-UX 11.i) but allow user using rcp command to remote copy files and directories.
In normal case, I have to add "server user" in .rhosts file to enable rlogin. Then user can use rcp service.
But if I remove it from .rhosts to prevent rlogin service, users can not use rcp service :-(
How to solve this thing?
Any answer will much appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 05:52 PM
тАО10-26-2005 05:52 PM
Re: How to enable rcp...
So you need .rhosts or /etc/hosts.equiv
If you remove it, it wont work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 06:12 PM
тАО10-26-2005 06:12 PM
Re: How to enable rcp...
#login stream tcp6 nowait root /usr/lbin/rlogind rlogind
shell stream tcp6 nowait root /usr/lbin/remshd remshd
inetd -c
This will disable rlogin,but the users will still be able to use remsh to invoke commands on the server.
hth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 06:16 PM
тАО10-26-2005 06:16 PM
Re: How to enable rcp...
In remote machine's /etc/profile check for rlogind as,
ps| grep -q 'rlogin'
if [ ${?} -eq 0 ]
then
# Local passwd authentication check
telnet
fi
rcp will work normally.
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 06:53 PM
тАО10-26-2005 06:53 PM
Re: How to enable rcp...
I have found my own solution:
Just add one more line in /var/adm/inetd.sec file:
login allow (or deny)
It works now :)
My system is not in trusted mode.
Thanks you all,
Hoang Chi Cong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 07:06 PM
тАО10-26-2005 07:06 PM
Re: How to enable rcp...
vikas