Operating System - HP-UX
1832054 Members
3346 Online
110034 Solutions
New Discussion

Re: ASCII login vs Console login

 
Hill_1
Frequent Contributor

ASCII login vs Console login

Dear all,
May I know what is the difference between ASCII login and Console login?
Thanks in advanced.
Unix
5 REPLIES 5
Sanjay_6
Honored Contributor

Re: ASCII login vs Console login

Hi Hill,

Where did you come across ascii login on hp-ux.

Regds
A. Clay Stephenson
Acclaimed Contributor

Re: ASCII login vs Console login

There is no difference unless perhaps you omitted the word 'Web' from before 'Console'. Some of the newer boxes have an additional network port that supports the 'Web Console' - which is just what it sounds like. All of these boxes have a serial port that can serve as the console.

One other possible meaning is that console login is available in single-user mode; other serial logins are not available until run-level 2.
If it ain't broke, I can fix that.
Hill_1
Frequent Contributor

Re: ASCII login vs Console login

Hi,
I got the example from the HP-Unix SNA II manual. The following the is info in the /etc/inittab.

### these lines display login prompts
cons:123456:respawn:/usr/sbin/getty console
t0p1:234:respawn:/usr/sbin/getty -h tty0p1 H
to-2:234:respawn:/usr/sbin/getty -h tty0p2 H


Any ideas on this?
Thanks.
Unix
A. Clay Stephenson
Acclaimed Contributor

Re: ASCII login vs Console login

Okay, in that case my second answer is the case. The console login is the only login available at run-level 1 (e.g. while booting); the others are not fired off by init until run-level 2.

Clay
If it ain't broke, I can fix that.
Roger Baptiste
Honored Contributor

Re: ASCII login vs Console login

Hi,

Ascii login is a confusing misnomer.
Console login is that which can login using the console ;-)
Regarding this:
<<123456:respawn:>t0p1:234:respawn:/usr/sbin/getty -h tty0p1 H
to-2:234:respawn:/usr/sbin/getty -h tty0p2 H >>

The immediate difference one can see s the
second column which is the runlevels the terminal supports. Cons works on all runlevels
1 to 6 ; whereas the other two works on the
runlevels 2,3 and 4. Other difference is the
terminal ports they use.

HTH
raj
Take it easy.