Solved

rlogin

Posted on 2001-06-28
8
518 Views
Last Modified: 2013-12-15

i need to turn on rlogin, it went away and the linux server will not accept any connection. I recently upgraded to rh7.1 and that is when my rlogin went south.  I managed to get telnet up and running, but most of the people on the network like to use rlogin, how do i turn it back on?
0
Comment
Question by:shisuck
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 1

Expert Comment

by:meyarivan
ID: 6236926
hi,
    you can turn it on using either linuxconf or ntsyv.
   
    Using ntsysv or the services menu of linuxconf, simply choose the rlogin and xinetd. You can either restart the machine or manually run the following command:

/etc/rc.d/init.d/xinetd restart

mary
0
 

Author Comment

by:shisuck
ID: 6237681
now when i do rlogin mavrick
ON one box->i get a login prompt, as soon as i type username it says login incorrect, does not even ask for password.
otherBox-> I don't have neither one, rlogin or xinetd?
0
 
LVL 1

Expert Comment

by:meyarivan
ID: 6238038
it would be helpful if you post the error msgs which appear in /var/log/messages as soon as you try to login via rlogin. (also which linux distribution have you installed on the second machine)

mary
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:shisuck
ID: 6238094
both have RH7.1
error message:
in.rlogind[7160]: PAM authentication failed for in.rlogind


now on my other box, I installed xinet, but I still don't see rlogin at the ntsysv menu.
0
 
LVL 1

Expert Comment

by:meyarivan
ID: 6238147
can you post te contents of /etc/pam.d/rlogin

mary
0
 
LVL 1

Expert Comment

by:meyarivan
ID: 6238160
can you post te contents of /etc/pam.d/rlogin

mary
0
 

Author Comment

by:shisuck
ID: 6244834
#%PAM-1.0
auth       required     /lib/security/pam_securetty.so
auth       required     /lib/security/pam_stack.so service=system-auth
auth       required     /lib/security/pam_nologin.so
account    required     /lib/security/pam_stack.so service=system-auth
password   required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_stack.so service=system-auth
session    optional     /lib/security/pam_console.so


now when i get a login prompt and put a valid user name, i do not get a password prompt and login fails, BUT.
if i start with an invalid user, it prompt for a password, then when it fails i can put a valid user  and password and then i can access the system
why why why why why
0
 
LVL 5

Accepted Solution

by:
garboua earned 100 total points
ID: 6255682
BECAUSE:
1. backup your  /etc/pam.d/rlogin
2. change you /etc/pam.d/rlgoin to this
auth       required     /lib/security/pam_nologin.so
auth       required     /lib/security/pam_securetty.so
auth       required     /lib/security/pam_env.so
auth       sufficient     /lib/security/pam_rhosts_auth.so
auth       required     /lib/security/pam_stack.so service=system-auth
account    required     /lib/security/pam_stack.so service=system-auth
password   required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_stack.so service=system-auth

and you should be up and running in less than a minute :-)
I'm assuming you are using shadow.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux FTP Error 5 60
Looking for a program called HoneyMine. 3 118
Bash script to include windows servers 13 41
LInux Mint to VPN with Sonic Firewalls 2 14
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question