- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remsh login incorrect
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
тАО08-23-2002 01:33 PM
тАО08-23-2002 01:33 PM
target machine are correctly configured. I can rlogin to the target, but I have to supply a password, so it leads me to believe there is still a problem with the .rhosts file. I am also running a trusted system.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2002 01:39 PM
тАО08-23-2002 01:39 PM
Re: remsh login incorrect
hosta + # means everyone can log in
hostb root # only root can log in
if you are logged in as user1 and trying to do a remsh to hostb .. it wont work because only root can log in.
and check and in /etc/inet.conf
the following should be uncommented:
shell stream tcp nowait root /usr/lbin/remshd remshd
kshell stream tcp nowait root /usr/lbin/remshd remshd -K
klogin stream tcp nowait root /usr/lbin/rlogind rlogind -K
after you uncomment them do
inetd -c
to reread the file and accept the changes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2002 01:46 PM
тАО08-23-2002 01:46 PM
Re: remsh login incorrect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2002 04:52 PM
тАО08-23-2002 04:52 PM
Solution1. The hostname that you store in .rhosts must be resolvable by the machine receiving the request (the target machine). You *must* be able to resolve 2 ways: by hostname and by reverse DNS using the IP address. If either fails, r-commands will fail (ie, ask for passwd)
2. The permissions for .rhosts must be 600 (no read or write by anyone else).
The r-commands are by their very nature, a security risk so they do what they can to verify the connection is OK.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2002 07:01 PM
тАО08-23-2002 07:01 PM
Re: remsh login incorrect
You want to remsh from A machine to B machine. Does B machine has the same username of A that execute the remsh command. If not, you have to specific the '-l' option with remsh command.
Here is my working examples of two of my systems that have two different users execute the remsh command.
ppatc@[machine A]:/home/ppatc >
> remsh B ls
remshd: Login incorrect.
ppatc@[machine A]:/home/ppatc >
> remsh B -l dpatc ls -x
backup.d bin diff2.txt html log sql
test tmp
And the content of ~dpatc/.rhosts in machine B should contain the following line
Hope this help !!
Regards,
Patrick