Operating System - HP-UX
1753905 Members
9821 Online
108810 Solutions
New Discussion юеВ

Re: Enabling root user in rlogin

 
SOLVED
Go to solution
Taifur
Respected Contributor

Re: Enabling root user in rlogin

Hi Senthil

You can check below link as follows,

http://www.docs.hp.com/en/B2355-90827/ch02s01.html

Rgds//
Taifur
Md. Farhan A Azam
Trusted Contributor

Re: Enabling root user in rlogin

Hi,

>Check for the /etc/securetty file.

In my case...

I am trying to rlogin from server1 to server2 by using root userid and password. All entries are there in /etc/hosts and in .rhosts file of both server.

In server2.
# more securetty
console
#

but still i am able to login through rlogin. So any one can plz let us know that /etc/securetty file will efect in rlogin also.


Thnx...Farhan
senthil_kumar_1
Super Advisor

Re: Enabling root user in rlogin

My hp-ux server is in remote location.

I am connecting that HP-UX server using putty.

Now i am not able to login directly by root user.

so I am logging first using other user and again i use "su - " to get root lgoin.

Here i want direct root login.

there is no file like "/etc/securetty" in my server.

what is the procedures to create this file?
what are the contents this file have to cotain?
Ganesan R
Honored Contributor
Solution

Re: Enabling root user in rlogin

Hi again,

If you don't have file /etc/securetty file, then you should be able to login as root directly.

If the file contains like below,

# more /etc/securetty
console

root user can login directly only on console.
Best wishes,

Ganesh.
T G Manikandan
Honored Contributor

Re: Enabling root user in rlogin

Are you using SSH i.e port 22 with putty or 23 which is telnet.

If its SSH then check in sshd_config, edit the line "#PermitRootLogin yes, uncomment the line and restart sshd.
Avinash20
Honored Contributor

Re: Enabling root user in rlogin

Hi Senthil,

Few queries.

how are you trying to login to the serve
ssh/telnet ??

What is the error message you get when you try to login via root

If telnet, try to login via cmd to get the error message.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
senthil_kumar_1
Super Advisor

Re: Enabling root user in rlogin

Hi All

My problem solved. Now i am able to login by root user directly thru rlogin.

Solution:

I have deleted the file "/etc/securetty".