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
  •  


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

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

$174.99



AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1) picture

AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1)

$189.00



Intel Core i7-6900K SR2PB 8-Core 3.20GHz CPU LGA 2011 (Socket R) picture

Intel Core i7-6900K SR2PB 8-Core 3.20GHz CPU LGA 2011 (Socket R)

$60.00



SGIN 17.3

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

$229.99



Apple Macbook Pro 13

Apple Macbook Pro 13" M1 8-Core 16GB 512GB - Good

$464.99



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

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

$30.00



AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 CPU Processor Brand New Unused picture

AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 CPU Processor Brand New Unused

$395.95



AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW picture

AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW

$399.00



Dell OptiPlex 7060 Intel Core i7-8700 3.2GHz 8GB RAM 256GB Windows 11 Pro FAST picture

Dell OptiPlex 7060 Intel Core i7-8700 3.2GHz 8GB RAM 256GB Windows 11 Pro FAST

$159.99



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

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

$259.98