LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-03-2008, 04:36 PM   #1
jaredhanks
LQ Newbie
 
Registered: May 2006
Posts: 23

Rep: Reputation: 15
rlogin issues


Hello,

I'm running CentOS 5.1 and am trying to get rlogin working. I'm getting the following when trying rlogin r001:

Last login: Mon Mar 3 12:56:32 from domain.com
krb_sendauth failed: You have no tickets cached
r001: Connection refused

I've done some reading and everything I've found has said "don't use rlogin, it's not secure." I'm fine with using it since the client and server are not connected to the internet at all.

What I'm trying to accomplish is have a point of sale server (r001) and a second "register" (r002). The server is going to be running the POS software and I login to r002, which then connects to r001 through .bash_profile. Is there a different way that I should be doing this? Basically the user logs in to r002, establishes a connection to r001, and then is able to run the POS software.

Any help is greatly appreciated.

Thanks,
Jared
 
Old 03-04-2008, 08:53 AM   #2
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Rep: Reputation: 33
We have some servers in a like setup (no internet threat) so we use rsh (remote shell ...just like rlogin) and rcp (remote copy).

What user are you trying to make this connection with? We do not allow root to use a remote login.
So we have another user setup for the rcp's and such.
You need a host.equiv file in /etc
In the host.equiv all you need is the IP of the server you are allowing to remotely login and the user ID ...so it would look something like:
192.34.34.2 rcpuser

And that's it.
Also your IPtables or hosts.allow might be stopping the connection.
tail /var/log/messages after you get the connection refused message to see if that gives a hint on why it's not working.

Sometimes I will turn off IPtables to be sure it is not interfering.
ie:
service iptables stop
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rlogin bhargava_mattur Linux - Software 1 02-01-2008 07:36 AM
Why can't rlogin sunhui Linux - Software 1 09-30-2006 03:59 AM
rlogin timeout Juterassee Linux - Networking 1 10-22-2005 08:57 AM
about rlogin ust Linux - General 2 04-27-2003 03:36 AM
rlogin Nezar Linux - General 1 06-01-2001 06:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration