Re: tty1 or tty2 how about both?



As far as I am aware, the actual console can only be assigned to one device
at a time. Usually, during an install or maintenance boot the firmware
broadcasts to all the available terminals so that you can choose whichever
one you want at that time. (That can depend on the particular hardware.)
Of course, you're then stuck with that 'til the next time.

If all you want is to be able to login to a running system on a different
terminal then you don't need to change the console, just define the
appropriate tty and enable it for logins.

What is it that you need this terminal for?

--
Simon Green
Altria ITSC Europe s.a.r.l.

AIX-L Archive at https://lists.princeton.edu/listserv/aix-l.html
<https://lists.princeton.edu/listserv/aix-l.html>

New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX
<http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX>

N.B. Unsolicited email from vendors will not be appreciated.
Please post all follow-ups to the list.

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
Patrick B. O'Brien
Sent: 27 June 2006 18:40
To: aix-l@xxxxxxxxxxxxx
Subject: tty1 or tty2 how about both?



We kvm (keyboard video mouse) in remotely on tty1 (sa0).



But sometimes I need to tty in, in front of the aix node, on tty2 (sa1).



It looks like I need issue 2 commands to move my console to tty2;



How can I use both com1 and com2 to shell in?



#chcons -a login=enable /dev/tty1

chcons: console login enabled, effective on next system boot

chcons: console assigned to: /dev/tty1, effective on next system boot

#penable /dev/tty1











Relevant Pages

  • Re: tty1 or tty2 how about both?
    ... tty1 or tty2 how about both? ... I'd delete tty1 and redefine it. ... Also check the login restrictions on your userid. ... I've bounced the serial console, ...
    (AIX-L)
  • Re: tty1 or tty2 how about both?
    ... I'd delete tty1 and redefine it. ... Also check the login restrictions on your userid. ... I've bounced the serial console, ... tty2 Available 01-S3-00-00 Asynchronous Terminal ...
    (AIX-L)
  • Re: tty1 or tty2 how about both?
    ... I only need to get to a login shell using my second com port as my ... I've bounced the serial console, ... tty1 Available 01-S2-00-00 Asynchronous Terminal ... tty2 Available 01-S3-00-00 Asynchronous Terminal ...
    (AIX-L)
  • shell and numbered file
    ... within kde or even if I login on tty2 a file gets written in my ... gets written depends on the where I start the console. ... next login. ...
    (alt.os.linux.suse)
  • Re: logging console login
    ... What i want in common with Linux and Solaris is console logins to ... least network logins can be bared from root login and force people to login as themselves and switch user, but root login at the console is ... Solaris and Linux log this event without any further configuration, but with HP and AIX for that matter they dont at the moment. ...
    (comp.sys.hp.hpux)