Operating System - HP-UX
1833875 Members
1612 Online
110063 Solutions
New Discussion

Not authorized for terminal access

 
g700304
Super Advisor

Not authorized for terminal access

GenericSysName [HP Release B.11.23] (see /etc/issue)
Console Login: root
Password:
Not authorized for terminal access but console login is allowed.
Last successful login for : Fri Jun 1 13:55:05 EST5EDT 2007 on pts/tb
Last unsuccessful login for : Thu May 31 13:33:10 EST5EDT 2007

Wait for login exit:
..

GenericSysName [HP Release B.11.23] (see /etc/issue)
Console Login:

But I am login in via the console? Anyone? Please help

Thanks
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor

Re: Not authorized for terminal access

You probably have a /etc/securetty entry with only console listed. /etc/securetty lists the devices from which root is allowed to login directly. You should be able to login as a regular user from anywhere and the su to become root.

Also, in the case where the root account has expired, root is still allowed to login at the console.
If it ain't broke, I can fix that.
g700304
Super Advisor

Re: Not authorized for terminal access

Hi Clay,

I did checked and there isn't any /etc/securetty file at all.
I login to a regular user and

$ su - root

and I get this too
$ su
Password:
Not authorized for terminal access -- see System Administrator

Hmmm???

A. Clay Stephenson
Acclaimed Contributor

Re: Not authorized for terminal access

This sounds as though there is a problem in your /tcb/file/devassign database but in order to investigate, you must be root -- a Catch 22.

You are probably going to have to shutdown and bring the system up in single user mode. That will have you already logged in as root and you can then troubleshoot the problem. You will proabaly want to explicitly mount /usr and /var so that you will have access to vi as well as the trusted utilities in /usr/lbin.
If it ain't broke, I can fix that.