Results 1 to 2 of 2

Thread: logging out

  1. #1
    Junior Member
    Join Date
    Sep 2004
    Location
    Italy
    Posts
    3

    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

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    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

  1. Logging boot messages
    By jodef in forum Hardware & Booting
    Replies: 0
    Last Post: 06-05-2005, 03:44 AM
  2. Logging off from bash
    By Salzi in forum General Support
    Replies: 1
    Last Post: 09-09-2004, 02:56 AM
  3. Issues logging in
    By MSTDLR in forum General Support
    Replies: 4
    Last Post: 04-26-2004, 02:08 AM
  4. Logging problems: only root!!
    By Bleim in forum General Support
    Replies: 0
    Last Post: 09-03-2003, 11:24 PM
  5. How about logging in as root as an F2 option
    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
  •  


S-100 Vector Graphic 64K Ram Board (Altair, IMSAI) picture

S-100 Vector Graphic 64K Ram Board (Altair, IMSAI)

$99.95



S-100 Vector Graphic 12K PROM/RAM Board (Altair, IMSAI) picture

S-100 Vector Graphic 12K PROM/RAM Board (Altair, IMSAI)

$99.95



640pg Best of BYTE Magazine 1984 Mac Steve Jobs Altair 8800 IBM 5100 Bob Moog  picture

640pg Best of BYTE Magazine 1984 Mac Steve Jobs Altair 8800 IBM 5100 Bob Moog

$85.00



Vintage Digital Research ZSID 1.4 8

Vintage Digital Research ZSID 1.4 8" Floppy Disk CP/M Z80 Software S-100 Altair

$69.99



Computer Photo History Altair 8800 Philco 212 CDC 6600 DEC PDP-8 Apple 1 UNIVAC picture

Computer Photo History Altair 8800 Philco 212 CDC 6600 DEC PDP-8 Apple 1 UNIVAC

$69.99



1979 Microprocessor Projects Altair 8800 Intel 8080 KIM-1 COSMAC Elf SWTPC 6800 picture

1979 Microprocessor Projects Altair 8800 Intel 8080 KIM-1 COSMAC Elf SWTPC 6800

$59.99



S-100 Industrial Micro Systems 8K Static Ram (IMS, Altair, IMSAI) picture

S-100 Industrial Micro Systems 8K Static Ram (IMS, Altair, IMSAI)

$69.95



BYTE Magazine Cover Jan 1977 Canvas Print 8

BYTE Magazine Cover Jan 1977 Canvas Print 8"x10" Retro Computer Altair 880

$7.00



CP/M 86 1.1R 8086 Highmonitor 8 Inch Floppy Diskette 80s IMSAI Altair picture

CP/M 86 1.1R 8086 Highmonitor 8 Inch Floppy Diskette 80s IMSAI Altair

$29.99



ALTAIR Bitcoin Mining Solutions PDU IEC SERIES 100-250V 30A/24A Power Distribute picture

ALTAIR Bitcoin Mining Solutions PDU IEC SERIES 100-250V 30A/24A Power Distribute

$99.00