Operating System - HP-UX
1825766 Members
2179 Online
109687 Solutions
New Discussion

Re: Root cant login from GSP console

 
Craig A. Sharp
Super Advisor

Root cant login from GSP console

All of a sudden I am not able to login to root from the GSP. If I ssh into the box directly, root can login just fine.

Any ideas?
18 REPLIES 18
Aussan
Respected Contributor

Re: Root cant login from GSP console

Hi Craig
what prompt do you get at the GSP before you login

the first one is usually admin, then you login as root
The tongue weighs practically nothing, but so few people can hold it
Craig A. Sharp
Super Advisor

Re: Root cant login from GSP console

I get past the Admin login and get to the actual console login prompt..it is at that point that root cant login.
Patrick Wallek
Honored Contributor

Re: Root cant login from GSP console

OK. So what error, if any do you get?

Does your password contain any special characters, like a ! or an @? If so, change your password to something without any special characters and see what happens.
Craig A. Sharp
Super Advisor

Re: Root cant login from GSP console

No error and no special characters...it just keeps asking for the password. The strange thing is that if I ssh direct to the box such as ssh root@X.X.X.X, it works fine. This is only happening at the console.
Aussan
Respected Contributor

Re: Root cant login from GSP console

is this a trusted system

and did you put root restrictions
look in /etc
is there a file called securetty

if so, what's in it
The tongue weighs practically nothing, but so few people can hold it
Jeff_Traigle
Honored Contributor

Re: Root cant login from GSP console

Check /etc/securetty. Maybe someone munged the console entry. Should be simply a line like:

console
--
Jeff Traigle
Craig A. Sharp
Super Advisor

Re: Root cant login from GSP console

securtty is good and no its not a trusted system. It does use ldap but it looks at files first. Since I can login from a direct ssh session, I would expect that ldap is not a factor.
A. Clay Stephenson
Acclaimed Contributor

Re: Root cant login from GSP console

I assume that this is a trusted system. Check to make sure that there is a console entry in /tcb/files/ttys and /tcb/files/devassign.

Is there a bogus (misspelled?) console entry in /etc/securetty?
If it ain't broke, I can fix that.
Craig A. Sharp
Super Advisor

Re: Root cant login from GSP console

Its not a trusted system. I have double checked the /etc/securetty file.
Aussan
Respected Contributor

Re: Root cant login from GSP console

Hi Craig
can you show us what's in the /etc/securetty please


thanks

Aussan
The tongue weighs practically nothing, but so few people can hold it
Craig A. Sharp
Super Advisor

Re: Root cant login from GSP console

Sure can:

server1 # cat /etc/securetty
console
server1 #
Aussan
Respected Contributor

Re: Root cant login from GSP console

is your password over 8 characters?

and is there a tcb directory /tcb

i'm asking because if the system was converted to trusted without you knowing, then console will take the first 8 characters only
The tongue weighs practically nothing, but so few people can hold it
Craig A. Sharp
Super Advisor

Re: Root cant login from GSP console

No /tcb and our password is exactly 8 characters letters and numbers.

I cant think of what else to look at.
A. Clay Stephenson
Acclaimed Contributor

Re: Root cant login from GSP console

Can you log in as a non-root user from the console?
If it ain't broke, I can fix that.
Aussan
Respected Contributor

Re: Root cant login from GSP console

go to /dev
do ll console

and see if another has the same meager minor number.

also what are the permissions on it?



The tongue weighs practically nothing, but so few people can hold it
Craig A. Sharp
Super Advisor

Re: Root cant login from GSP console

server1 # ll console
crw--w--w- 1 root tty 0 0x000000 May 24 15:02 console
server1 #
Aussan
Respected Contributor

Re: Root cant login from GSP console

also your root filesystem is not full is it?
The tongue weighs practically nothing, but so few people can hold it
Jov
Honored Contributor

Re: Root cant login from GSP console

>> The strange thing is that if I ssh direct to the box such as ssh root@X.X.X.X, it works fine. This is only happening at the console.

By default SSH into the box as root is blocked. Thus some security changes has been made on your server.

Can you login the server with your account via GSP?


Jov