Link to home
Start Free TrialLog in
Avatar of shisuck
shisuck

asked on

rlogin


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?
Avatar of meyarivan
meyarivan

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
Avatar of shisuck

ASKER

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?
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
Avatar of shisuck

ASKER

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.
can you post te contents of /etc/pam.d/rlogin

mary
can you post te contents of /etc/pam.d/rlogin

mary
Avatar of shisuck

ASKER

#%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
ASKER CERTIFIED SOLUTION
Avatar of garboua
garboua

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial