Re: tty1 or tty2 how about both?
- From: Lamar Saxon <Lamar.Saxon@xxxxxxxxxxxxxxx>
- Date: Thu, 29 Jun 2006 11:52:32 -0500
inittab runs the gettys for login on serial terminals. You will have to
have an entry in inittab unless you want to penable it every time.
Lamar
_____
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
Green, Simon
Sent: Thursday, June 29, 2006 11:41 AM
To: aix-l@xxxxxxxxxxxxx
Subject: Re: tty1 or tty2 how about both?
If all you want is a simple terminal to login at I don't think it needs
to have anything to do with inittab.
-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On
Behalf Of Patrick B. O'Brien
Sent: 29 June 2006 17:19
To: aix-l@xxxxxxxxxxxxx
Subject: Re: tty1 or tty2 how about both?
Does smit mktty updates the /etc/inttab only??
I have com2,tty2,sa2 working on one rs6000 but none of the
others.
I made sure my good inittab where com2 worked, matched that of
another rs6000 but still that com2 does not work; bummer.
Any thoughts and tia!
#mkdev -c tty -t 'tty' -s 'rs232' -p 'sa1' -w '0' -a
login='enable'
# cat /etc/inittab|grep -i tty
cons:0123456789:respawn:/usr/sbin/getty /dev/console
tty1:2:respawn:/usr/sbin/getty /dev/tty1
#mkdev -c tty -t 'tty' -s 'rs232' -p 'sa2' -w '0' -a
login='enable'
# cat /etc/inittab|grep -i tty
cons:0123456789:respawn:/usr/sbin/getty /dev/console
tty1:2:respawn:/usr/sbin/getty /dev/tty1
tty2:2:respawn:/usr/sbin/getty /dev/tty2
_____
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On
Behalf Of Green, Simon
Sent: Wednesday, June 28, 2006 8:00 AM
To: aix-l@xxxxxxxxxxxxx
Subject: Re: tty1 or tty2 how about both?
If it were me, I'd delete tty1 and redefine it.
rmdev -dl tty1
smitty mktty - just take all the defaults, except set "login" to
"enable".
That should be all you need to do, I think.
Also check the login restrictions on your userid.
--
Simon Green
Altria ITSC Europe s.a.r.l.
AIX-L Archive at https://lists.princeton.edu/listserv/aix-l.html
New to AIX?
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: 28 June 2006 15:28
To: aix-l@xxxxxxxxxxxxx
Subject: Re: tty1 or tty2 how about both?
I only need to get to a login shell using my second com
port (2) as my first com port (1) is tied up with the KVM hardware.
I key in, penable /dev/tty1, I might get a brief login
screen, it disappears, and so then I am unable to login.
I've bounced the serial console, no joy.
Is there something else I need to do?
# lsdev -C -c tty -H
name status location description
tty0 Available 01-S1-00-00 Asynchronous Terminal
tty1 Available 01-S2-00-00 Asynchronous Terminal
tty2 Available 01-S3-00-00 Asynchronous Terminal
tty3 Available 01-S4-00-00 Asynchronous Terminal
TIA SG!
_____
From: IBM AIX Discussion List
[mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of Green, Simon
Sent: Wednesday, June 28, 2006 2:53 AM
To: aix-l@xxxxxxxxxxxxx
Subject: 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
New to AIX?
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
Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.
- Prev by Date: lpr printing through firewall
- Next by Date: Re: du returns a diff size to ls.
- Previous by thread: Re: tty1 or tty2 how about both?
- Next by thread: Re: "shadow" a user?
- Index(es):
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?
... tty1 or tty2 how about both? ... Also check the login restrictions
on your userid. ... broadcasts to all the available terminals so that you can choose whichever
... (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) - Re: 5.0.7 machine locks up!
... I tried a terminal login, a virtual console, and even a telnet ... The
telnet and serial based terminals became totally unresponsive. ... updates the patient
login screen. ... (comp.unix.sco.misc)