Professional Web Applications Themes

No Login - Linux Setup, Configuration & Administration

Is there anyway to get linux to boot up to a commandline without having to login? I am currently using RedHat 9.0, but I will switch if I can't do it in that distro....

  1. #1

    Default No Login

    Is there anyway to get linux to boot up to a commandline without
    having to login? I am currently using RedHat 9.0, but I will switch if
    I can't do it in that distro.
    Fairfaxsimon Guest

  2. #2

    Default Re: No Login

    On 11 Sep 2003 09:22:49 -0700, Fairfaxsimon <gbtmudhotmail.com> wrote:
    >
    >
    > Is there anyway to get linux to boot up to a commandline without
    > having to login? I am currently using RedHat 9.0, but I will switch if
    > I can't do it in that distro.

    I don't believe any UNIX/linux will do that.

    Why would you WANT to?

    Alan C


    --

    take control of your mailbox ----- elrav1 ----- [url]http://tinyurl.com/l55a[/url]


    Alan Connor Guest

  3. #3

    Default Re: No Login

    Alan Connor wrote:
    > On 11 Sep 2003 09:22:49 -0700, Fairfaxsimon <gbtmudhotmail.com> wrote:
    >
    >>
    >>Is there anyway to get linux to boot up to a commandline without
    >>having to login? I am currently using RedHat 9.0, but I will switch if
    >>I can't do it in that distro.
    >
    >
    >
    > I don't believe any UNIX/linux will do that.
    Why not? KNOPPIX does just that on its suborindate
    virtual consoles.
    >
    > Why would you WANT to?
    Because you can. Not everyone uses a computer in the same way.
    That's the beauty of Unix/Linux. Very flexible (esp. Linux).

    Chris Cox Guest

  4. #4

    Default Re: No Login

    Fairfaxsimon wrote:
    > Is there anyway to get linux to boot up to a commandline without
    > having to login? I am currently using RedHat 9.0, but I will switch if
    > I can't do it in that distro.
    Spawn a shell instead of mingetty on your virtual consoles
    inside of /etc/inittab.

    Chris Cox Guest

  5. #5

    Default Re: No Login

    On Thu, 11 Sep 2003 13:13:59 -0500, Chris Cox <ccox_nopenotthisairmail.net> wrote:
    >
    >
    > Fairfaxsimon wrote:
    >> Is there anyway to get linux to boot up to a commandline without
    >> having to login? I am currently using RedHat 9.0, but I will switch if
    >> I can't do it in that distro.
    >
    > Spawn a shell instead of mingetty on your virtual consoles
    > inside of /etc/inittab.
    >

    I was thinking he meant NOW, Chris, not after logging in and editing
    /etc/inittab.

    I wonder where all the security paranoids are? This is the sort of thing
    they usually freak over :-)


    Alan C


    --

    take control of your mailbox ----- elrav1 ----- [url]http://tinyurl.com/l55a[/url]


    Alan Connor Guest

  6. #6

    Default Re: No Login

    Alan Connor <alanconnorearthlink.net> writes:

    ]On Thu, 11 Sep 2003 13:13:59 -0500, Chris Cox <ccox_nopenotthisairmail.net> wrote:
    ]>
    ]>
    ]> Fairfaxsimon wrote:
    ]>> Is there anyway to get linux to boot up to a commandline without
    ]>> having to login? I am currently using RedHat 9.0, but I will switch if
    ]>> I can't do it in that distro.

    Not sure what you mean.
    a)Runlevel 3 puts you into commandline ( edit /etc/inittab and replace
    the 5 by3)
    or bootup with
    linux 3
    at the bootup LILO prompt (or hit esc when the lilo selection screen
    comes up and type in linux 3 or whatever the name of your kernel is)
    b) Or do you mean it is supposed to acome up already logged in as some
    user?



    ]>
    ]> Spawn a shell instead of mingetty on your virtual consoles
    ]> inside of /etc/inittab.
    ]>


    ]I was thinking he meant NOW, Chris, not after logging in and editing
    ]/etc/inittab.

    ]I wonder where all the security paranoids are? This is the sort of thing
    Bill Unruh Guest

  7. #7

    Default Re: No Login

    On Thu, 11 Sep 2003 18:52:01 +0000 (UTC), Bill Unruh <unruhstring.physics.ubc.ca> wrote:
    >
    >
    > Alan Connor <alanconnorearthlink.net> writes:
    >
    > ]On Thu, 11 Sep 2003 13:13:59 -0500, Chris Cox <ccox_nopenotthisairmail.net> wrote:
    > ]>
    > ]>
    > ]> Fairfaxsimon wrote:
    > ]>> Is there anyway to get linux to boot up to a commandline without
    > ]>> having to login? I am currently using RedHat 9.0, but I will switch if
    > ]>> I can't do it in that distro.
    >
    > Not sure what you mean.
    > a)Runlevel 3 puts you into commandline ( edit /etc/inittab and replace
    > the 5 by3)
    > or bootup with
    > linux 3
    > at the bootup LILO prompt
    Tried that on Debian: Just got normal bootup.

    (or hit esc when the lilo selection screen
    > comes up and type in linux 3 or whatever the name of your kernel is)
    > b) Or do you mean it is supposed to acome up already logged in as some
    > user?
    >
    >

    I think Chris had it right. He just wants a shell prompt at bootup, no login.


    Sounds interesting. I am going to set up one of the OSs on another partition
    to do that.



    Alan C


    --

    take control of your mailbox ----- elrav1 ----- [url]http://tinyurl.com/l55a[/url]


    Alan Connor Guest

  8. #8

    Default Re: No Login

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    NotDashEscaped: You need GnuPG to verify this message

    On 2003-09-11, Fairfaxsimon <gbtmudhotmail.com> wrote:
    > Is there anyway to get linux to boot up to a commandline without
    > having to login? I am currently using RedHat 9.0, but I will switch if
    > I can't do it in that distro.
    Why do you want to do this?

    --keith

    --
    [email]kkeller-mmmspamwombat.san-francisco.ca.us[/email]
    (try just my userid to email me)
    AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.0.6 (GNU/Linux)
    Comment: For info see [url]http://www.gnupg.org[/url]

    iEYEARECAAYFAj9g2kYACgkQhVcNCxZ5ID8lKgCgl2YocvYann gTx4GB7TwbGPee
    9h0AnRHdxh+NSp6/Ua0F98OKCMjY/7K8
    =4BUb
    -----END PGP SIGNATURE-----
    Keith Keller Guest

  9. #9

    Default Re: No Login

    On 11 Sep 2003 09:22:49 -0700, Fairfaxsimon <gbtmudhotmail.com> wrote:
    > Is there anyway to get linux to boot up to a commandline without
    > having to login? I am currently using RedHat 9.0, but I will switch if
    > I can't do it in that distro.
    Pass init=/bin/sh to the kernel on boot. (The filesystem will be mounted
    read-only.) This works on SuSE 8.1. I haven't tested it on anything
    else.


    -Laurel
    Laurel Amberdine Guest

  10. #10

    Default Re: No Login

    Chris Cox wrote:
    > Fairfaxsimon wrote:
    >
    >> Is there anyway to get linux to boot up to a commandline without
    >> having to login? I am currently using RedHat 9.0, but I will switch if
    >> I can't do it in that distro.
    >
    >
    > Spawn a shell instead of mingetty on your virtual consoles
    > inside of /etc/inittab.
    >
    Bingo. This is popular in learning environments, especially where the
    shell that is started is a restrictive customer interactive program
    (kind of like a Linux cash register or airport kiosk setup).

    Nico Kadel-Garcia Guest

  11. #11

    Default Re: No Login

    Hi,

    Fairfaxsimon schrieb:
    > Is there anyway to get linux to boot up to a commandline without
    > having to login? I am currently using RedHat 9.0, but I will switch if
    > I can't do it in that distro.
    I did it for my "DVD-Player" with SuSE 8.1. But i think it would
    work with any distro.

    I edit inittab:

    # getty-programs for the normal runlevels
    # <id>:<runlevels>:<action>:<process>
    # The "id" field MUST be the same as the last
    # characters of the device (after "tty").
    1:2345:respawn:/sbin/mingetty --noclear tty1
    2:3:respawn:/bin/bash -login -c "env HOME=/root (no
    linebread)/usr/X11R6/bin/startx -- -layout tv"
    3:2345:respawn:/sbin/mingetty tty3
    4:2345:respawn:/sbin/mingetty tty4
    5:2345:respawn:/sbin/mingetty tty5
    6:2345:respawn:/sbin/mingetty tty6
    #
    #S0:12345:respawn:/sbin/agetty -L 9600 ttyS0 vt102

    Starting the xserver is because of running xine and so one. It
    starts with special layout for output to tv.

    Edgar

    Edgar Giese Guest

  12. #12

    Default Re: No Login

    Excuse me,

    another way in inittab is like this:

    #2:3:respawn:/bin/bash -login >/dev/tty2 2>&1 </dev/tty2


    Edgar Giese schrieb:
    > Hi,
    >
    > Fairfaxsimon schrieb:
    >
    >> Is there anyway to get linux to boot up to a commandline without
    >> having to login? I am currently using RedHat 9.0, but I will switch if
    >> I can't do it in that distro.
    >
    >
    > I did it for my "DVD-Player" with SuSE 8.1. But i think it would work
    > with any distro.
    >
    > I edit inittab:
    >
    > # getty-programs for the normal runlevels
    > # <id>:<runlevels>:<action>:<process>
    > # The "id" field MUST be the same as the last
    > # characters of the device (after "tty").
    > 1:2345:respawn:/sbin/mingetty --noclear tty1
    > 2:3:respawn:/bin/bash -login -c "env HOME=/root (no
    > linebreak)/usr/X11R6/bin/startx -- -layout tv"
    > 3:2345:respawn:/sbin/mingetty tty3
    > 4:2345:respawn:/sbin/mingetty tty4
    > 5:2345:respawn:/sbin/mingetty tty5
    > 6:2345:respawn:/sbin/mingetty tty6
    > #
    > #S0:12345:respawn:/sbin/agetty -L 9600 ttyS0 vt102
    >
    > Starting the xserver is because of running xine and so on. It starts
    > with special layout for output to tv.
    >
    > Edgar
    >
    Edgar Giese Guest

  13. #13

    Default Re: No Login

    On Fri, 12 Sep 2003 12:19:05 -0700, Steve W <Steven.Workuvm.edu> wrote:
    >
    >
    > On Thu, 11 Sep 2003 13:25:45 -0700, Keith Keller
    ><kkeller-usenetwombat.san-francisco.ca.us> wrote:
    >
    >>On 2003-09-11, Fairfaxsimon <gbtmudhotmail.com> wrote:
    >>> Is there anyway to get linux to boot up to a commandline without
    >>> having to login? I am currently using RedHat 9.0, but I will switch if
    >>> I can't do it in that distro.
    >>
    >>Why do you want to do this?
    >>
    >>--keith
    >
    > Why do you want to know why he wants to do this?
    >
    > I like seeing this kind of technical reply. Really.
    >
    > -Steve
    >
    So do I. That doesn't preclude being curious about his motives.

    These can often be as instructional as the technical details.

    "how" is not much use without "why", is it?


    Alan C

    --

    take control of your mailbox ----- elrav1 ----- [url]http://tinyurl.com/l55a[/url]


    Alan Connor Guest

  14. #14

    Default Re: No Login

    On Thu, 11 Sep 2003 13:25:45 -0700, Keith Keller
    <kkeller-usenetwombat.san-francisco.ca.us> wrote:
    >On 2003-09-11, Fairfaxsimon <gbtmudhotmail.com> wrote:
    >> Is there anyway to get linux to boot up to a commandline without
    >> having to login? I am currently using RedHat 9.0, but I will switch if
    >> I can't do it in that distro.
    >
    >Why do you want to do this?
    >
    >--keith
    Why do you want to know why he wants to do this?

    I like seeing this kind of technical reply. Really.

    -Steve

    Steve W Guest

  15. #15

    Default Re: No Login

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    NotDashEscaped: You need GnuPG to verify this message

    On 2003-09-12, Steve W <Steven.Workuvm.edu> wrote:
    > On Thu, 11 Sep 2003 13:25:45 -0700, Keith Keller
    ><kkeller-usenetwombat.san-francisco.ca.us> wrote:
    >
    >>On 2003-09-11, Fairfaxsimon <gbtmudhotmail.com> wrote:
    >>> Is there anyway to get linux to boot up to a commandline without
    >>> having to login? I am currently using RedHat 9.0, but I will switch if
    >>> I can't do it in that distro.
    >>
    >>Why do you want to do this?
    >
    > Why do you want to know why he wants to do this?
    Why do you want to know why I want to know why he wants to do this?
    > I like seeing this kind of technical reply. Really.
    <aol>
    Me too!
    </aol>

    If you must know, it's because maybe he's asking an X-Y question, where
    he's asking X because he thinks it'll accomplish Y, when maybe there's
    a better way to solve Y without doing X. But perhaps the OP has gotten
    his answer and no longer cares about the thread.

    --keith

    --
    [email]kkeller-mmmspamwombat.san-francisco.ca.us[/email]
    (try just my userid to email me)
    AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.0.6 (GNU/Linux)
    Comment: For info see [url]http://www.gnupg.org[/url]

    iEYEARECAAYFAj9iIWkACgkQhVcNCxZ5ID/VswCeN0yxAe+IiXa3UATxmpX8tCOf
    gSMAn3Bi2vz1MXNHVZOvfY0zv2FmIxvX
    =xv+u
    -----END PGP SIGNATURE-----
    Keith Keller Guest

Similar Threads

  1. Replies: 4
    Last Post: September 18th, 11:58 PM
  2. user and admin login on same login page
    By davellaman in forum Coldfusion - Advanced Techniques
    Replies: 1
    Last Post: May 16th, 07:47 PM
  3. Login to admin system through login screen only
    By Colin Graham in forum ASP.NET Security
    Replies: 1
    Last Post: April 11th, 12:08 PM
  4. Replies: 1
    Last Post: November 24th, 08:24 PM
  5. Replies: 0
    Last Post: June 25th, 06:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139