Operating System - HP-UX
1835085 Members
3227 Online
110073 Solutions
New Discussion

root login at console not possible

 
SOLVED
Go to solution
Rainer von Bongartz
Honored Contributor

root login at console not possible

Problem is: root cannot login at console
login falling back to new login prompt without further message


GenericSysName [HP Release B.11.11]
Console Login: root
Password:

GenericSysName [HP Release B.11.11]
Console Login: root
Password:

enabling pam debug thru syslogd, the debug shows:

PAM: load_modules: /usr/lib/security/libpam_unix.1
PAM: pam_get_username(ux)
load_function: successful load of pam_sm_acct_mgmt
PAM: pam_mapping_in_use()
PAM: pam_get_username(ux)
PAM: pam_mapping_in_use()
PAM: pam_acct_mgmt: error General Commercial Security error

What is a General Commercial Security error ??

login using ssh is possible.


Regards
Rainer




He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
12 REPLIES 12
Luk Vandenbussche
Honored Contributor

Re: root login at console not possible

Rainer,

Is it only on the console or also through a telnet login?
Rainer von Bongartz
Honored Contributor

Re: root login at console not possible

Luk,

it's only on console. telnet is disabled, but ssh tru putty is no problem

Regards
rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Robert-Jan Goossens
Honored Contributor

Re: root login at console not possible

Hi Rainer,

Does the file /etc/securetty exist ?
---
On a trusted system, login allows superuser to log in on the console unless /etc/securetty exists and does not contain console.
---

Best regards,
Robert-Jan
baiju_3
Esteemed Contributor

Re: root login at console not possible

Hi ,

Check your /etc/securetty settings .It should have an entry "console" in it.


thx,
bl.
Good things Just Got better (Plz,not stolen from advertisement -:) )
Rainer von Bongartz
Honored Contributor

Re: root login at console not possible

Hi Robert-Jan,

/etc/securetty does not exist.


I also found out that NO login is possible at console, even for non-root users

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
baiju_3
Esteemed Contributor

Re: root login at console not possible

create /etc/security with following permissions and add console in that .

adedd05p:root [/tempbkp/copy_area/adedd13n.11.11-bkp] ll /etc/securetty
-rw-r--r-- 1 root sys 8 Sep 18 2001 /etc/securetty
Good things Just Got better (Plz,not stolen from advertisement -:) )
baiju_3
Esteemed Contributor

Re: root login at console not possible

create /etc/security with following permissions and add console in that .

ll /etc/securetty
-rw-r--r-- 1 root sys 8 Sep 18 2001 /etc/securetty
Good things Just Got better (Plz,not stolen from advertisement -:) )
baiju_3
Esteemed Contributor

Re: root login at console not possible

create /etc/securetty with following permissions and add console in that .

ll /etc/securetty
-rw-r--r-- 1 root sys 8 Sep 18 2001 /etc/securetty
Good things Just Got better (Plz,not stolen from advertisement -:) )
Rainer von Bongartz
Honored Contributor

Re: root login at console not possible

etc/security does not change the behaviour

Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
john korterman
Honored Contributor

Re: root login at console not possible

Hi Rainer,

just guessing - and it may not be the cause - but is this line:

console:t_devname=console:t_maxtries#777:chkent:
tty:t_devname=tty:chkent:

included in /tcb/files/ttys ?

regards,
John K.
it would be nice if you always got a second chance
john korterman
Honored Contributor
Solution

Re: root login at console not possible

Sorry, I meant this line:

console:t_devname=console:t_maxtries#777:chkent:

Regards,
John K.
it would be nice if you always got a second chance
Rainer von Bongartz
Honored Contributor

Re: root login at console not possible

Hi John,


Bingo, /tcb/files/ttys did not exist on this box.

I copied from another server an login at console is possible

Thanks and Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...