Operating System - Tru64 Unix
1752620 Members
4349 Online
108788 Solutions
New Discussion юеВ

Re: root cannot login through CDE except console CDE

 
Rick Retterer
Respected Contributor

Re: root cannot login through CDE except console CDE

Typically, when you are trying to login as root from a PC using a PC Xserver, the thing to do is to check the file:

/var/adm/syslog.dated/current/auth.log

You will see an entry that reads something like this:

ROOT LOGIN REFUSED 16.113.39.97:0
-or-
ROOT LOGIN REFUSED hostname.full.domain:0

You *MUST* place the *EXACT* ipaddress:0 or hostname.full.domain:0 syntax in your /etc/securettys file.

So that /etc/securettys entry would look like this:

/dev/console
local:0
:0
16.113.39.97:0

-or-

/dev/console
local:0
:0
hostname.full.domain:0

Then save the file and try to login again.


Of course, if you are using C2 security there are other steps also required to allow you to connect and login as root.

But, for BASE security, that is all that is required. I would like to recommend that you NOT remove the /etc/securettys file as previously mentioned, for security reasons of course.

cheers,

Rick Retterer
HP Services

- Rick Retterer



kashi_1
Advisor

Re: root cannot login through CDE except console CDE

Thanks a lot for all your help. its working now after editing /etc/hosts and /etc/securettys
kashi_1
Advisor

Re: root cannot login through CDE except console CDE

found solution as mentioned by viladmir Fabebic.

edited /etc/securettys

dev/console
:0
{hostname of PC}:0
/dev/tty00
ptys

thanks alot