-
logging out
Hello
I managed to install on HDD Knoppix 3.4.
When I boot, however, it doesn't ask for a password. The system starts with the 'knoppix' account.
How do I log out and login as 'root' (I'fve already got a root password)
Regards
Artikid
-
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
APPLE MACBOOK AIR 13 INCH LAPTOP i7 | 8GB RAM | 256GB SSD | WARRANTY
$299.00
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$12.90
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$21.50
Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP
$35.99
[ BULK LOT OF 50 ] Desktop RAM 4GB DDR3 PC3 Micron, SAMSUNG, HYNIX
$62.99
Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM
$22.85
16GB DDR4 Corsair Vengeance LPX 3000 Mhz 1.35V Desktop Computer PC Memory RAM
$26.99
256GB Kit (8 x 32GB) PC4-17000 LRDIMM DELL POWEREDGE R730xd R730 R630 Memory RAM
$303.92
Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM
$39.95