-
Senior Member
registered user
getting tired of answering this...
edit /etc/inittab
instead of
Code:
1:..../bash ... tty1
2:................ tty2
....
6:2345:....... tty6
You need
Code:
2:2345:respawn:/sbin/getty 38400 tty2
3:2345:respawn:/sbin/getty 38400 tty3
...
Don't modify the line 1...tty1 in the beginning, this will be your security-fallback, if something isn't working.
The first entry is just a name (1, 2, ...6)
respawn means, after terminating, start again.
If you logoff, a new login-command will appear. That's respawn.
/sbin/getty is the login-shell-program
38400 is a speed value - hm - read about it in the manpage for getty.
tty1 - tty6 is the virtual console, bound to ALT-F1 .... ALT-F6.
After saving (as root) the new settings, tty1 should remain the same, but on ALT-F2, you should get a login.
If it works, you may modify the entry for tty1 too.
Here is a special remark necessary:
Entry 1 looks different:
Code:
1:12345:respawn:/sbin/getty 38400 tty1
2:2345:respawn:/sbin/getty 38400 tty2
The numbers :2345: or :12345: specify in which runlevel the command is involved.
And only tty1 is opened in runlevel 1, because 1 is the single-user-mode.
There you may not open a second console.
Similar Threads
-
By jodef in forum Hardware & Booting
Replies: 0
Last Post: 06-05-2005, 03:44 AM
-
By Salzi in forum General Support
Replies: 1
Last Post: 09-09-2004, 02:56 AM
-
By MSTDLR in forum General Support
Replies: 4
Last Post: 04-26-2004, 02:08 AM
-
By Bleim in forum General Support
Replies: 0
Last Post: 09-03-2003, 11:24 PM
-
By audioaficionado in forum Ideas
Replies: 13
Last Post: 03-30-2003, 08:11 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$174.99

SGIN 17.3" Laptop Intel Quad-Core Up to 2.4 GHZ 8GB RAM 256GB SSD HD
$229.99

acer swift air 14
$600.00

Dell T7810 Workstation 8-Core 2.40GHz E5-2630 v3 No RAM GPU HDD OS
$259.98

Intel Xeon E5 - 2667V2 / SR19W 3.30GHz 25MB 8-Core CPU Socket LGA2011
$30.00

AMD FX 8350 8-CORE 4.00GHz CPU FD8350FRW8KHK SOCKET AM3+ *QTY
$39.99

AMD Ryzen 7 7800X3D 4.20GHz Quad Core 100-000000510 8 Thread AM4
$279.99

AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor
$245.99

Dell Inspiron 15 3250 15.6 Touch Screen Laptop Intel core I5, 8GB, 256GB SSD
$379.00

Dell OptiPlex 5070 SFF i7-9700 (8-Core) 3.0GHz 16GB 256 SSD Windows 11
$250.00