Operating System - HP-UX
1751728 Members
5808 Online
108781 Solutions
New Discussion юеВ

Re: Enabling root user in rlogin

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

Enabling root user in rlogin

Hi

My HP-UX server is configured with rlogin.
I am not able to login by root user directly.

So now i am logging in using normal user and use " su - " to get root login.

16 REPLIES 16
Ivan Krastev
Honored Contributor

Re: Enabling root user in rlogin

Check /etc/hosts.equiv and .rhosts files.

regards,
ivan
Suraj K Sankari
Honored Contributor

Re: Enabling root user in rlogin

Hi,

Restrict root login to the console
/etc/securetty is used by the login command; the file contains the device names of tty lines (one per line,
without leading /dev/) on which root is allowed to login. We only allow the console.
# echo console > /etc/securetty
# chmod 400 /etc/securetty

remove "console" word from /etc/securetty

Suraj
Paul McCleary
Honored Contributor

Re: Enabling root user in rlogin

Hi,

Are you trying to use rlogin for password-less login?

Or is the problem that you are unable to login directly as root by any means? (rlogin, telnet, ssh)

Perhaps root login is restricted to the console only and not allowed from network ttys? Check for the /etc/securetty file.

HTH, Paul
T G Manikandan
Honored Contributor

Re: Enabling root user in rlogin

you need to check /etc/securetty as well as the root user's .rhosts file.

I would recommend configuring SSH for password-less login.
Md. Farhan A Azam
Trusted Contributor

Re: Enabling root user in rlogin

Hi senthil,

Plz check the below thread, hope it will help you.

https://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1324227

Thnx...Farhan
щ╗ЮчЗГ
Valued Contributor

Re: Enabling root user in rlogin

You will need to check your /etc/hosts.equiv and $HOME/.rhosts file for the host and username entries.(Should be in 'hostname' 'username' format.)

regards!



Man's mind, once stretched by a new idea, never regains its original dimensions
Ganesan R
Honored Contributor

Re: Enabling root user in rlogin

Hi Senthilkumar,

>>>My HP-UX server is configured with rlogin.
I am not able to login by root user directly.<<

>>>>So now i am logging in using normal user and use " su - " to get root login<<<

Both the situations are different. If you are not able to login as root directly, you should look at the file /etc/securetty. This file restricts where root should be able to login directly. Most people specify only the console, so root direct login denied from network. root can login directly only on console.

Hope this clears you.
Best wishes,

Ganesh.
Md. Farhan A Azam
Trusted Contributor

Re: Enabling root user in rlogin

Hi,

In Local Node.(From where you want to rlogin)

#more /etc/hosts
in this file check that remote host entry is there or not. If not then
#vi /etc/hosts
make the entry of remote host.
#more .rhosts
In this file check that remote hostname and user id is there or not (it will looks like host1 root), if entry is not there then
#vi .rhosts
and make the entry.

Do the same in Remote server.

Thnx...Farhan

Taifur
Respected Contributor

Re: Enabling root user in rlogin

Hi Senthil,

You can check below link for rlogin


http://docs.hp.com/en/B9106-90011/hosts.equiv.4.html

Rgds//
Taifur