Results 1 to 7 of 7

Thread: Auto logging into root

  1. #1
    Senior Member comtux's Avatar
    Join Date
    Sep 2004
    Location
    Wilkes Barre Pa
    Posts
    342

    Auto logging into root

    Im building a custom linux cd and i would like to now if anyone nows how to auto loggin as root then startx.
    I have a very bear linux build with only x & xfce4 i don't have xdm or gdm or kdm
    and root has no password.

    How it should go.

    1. Lillo
    2. Kernel boots
    3. Auto root login <-------------Where i am now.
    4. Auto startx
    5. Auto run installer.sh

    If anyone can help that would be great.

  2. #2
    Associate
    Join Date
    Apr 2004
    Location
    Juneau, Alaska
    Posts
    31

    Re: Auto logging into root

    I just ran across this earlier this morning:

    http://www.linuxfoo.org/posting.php?mode=reply&t=495

    I haven't tried it yet but it looks OK.

  3. #3
    Senior Member
    Join Date
    Apr 2004
    Location
    Indiana?... We named the dog Indiana!
    Posts
    488

    Re: Auto logging into root

    Quote Originally Posted by camelrider";p="4062
    I just ran across this earlier this morning:

    http://www.linuxfoo.org/posting.php?mode=reply&t=495

    I haven't tried it yet but it looks OK.

    Camelrider... I don't get it?
    Steve

  4. #4
    Senior Member comtux's Avatar
    Join Date
    Sep 2004
    Location
    Wilkes Barre Pa
    Posts
    342
    Ahhhh ok weird!
    Wenn Sie Spaß meines Englisch mich Willensfuckingtötung Sie bilden.

  5. #5
    Advisor
    Join Date
    Apr 2004
    Location
    orlando
    Posts
    608
    you can specify the init option on the kernel params

    init=/bin/sh should do you just fine

  6. #6
    Senior Member comtux's Avatar
    Join Date
    Sep 2004
    Location
    Wilkes Barre Pa
    Posts
    342

    Re: Auto logging into root

    maccorin
    would i place ( init=/bin/sh ) in lilo.conf ?
    or where would i place that command.

  7. #7
    Advisor
    Join Date
    Apr 2004
    Location
    orlando
    Posts
    608
    Quote Originally Posted by comtux";p="4086
    maccorin
    would i place ( init=/bin/sh ) in lilo.conf ?
    or where would i place that command.
    yes, put it on your kernel line, it's a boot parameter

Similar Threads

  1. Replies: 3
    Last Post: 10-16-2008, 05:02 AM
  2. Burning Debian ISO's Right Now
    By johnqpublic in forum Ubuntu / Debian
    Replies: 9
    Last Post: 11-21-2007, 11:03 AM
  3. Can't get to Desktop in Konsole
    By tlinux in forum Linux - General Topics
    Replies: 2
    Last Post: 11-20-2007, 01:57 AM
  4. FreeBSD 6.2 - Installing BASE, WWW issue
    By NipponDSM in forum BSD
    Replies: 8
    Last Post: 01-30-2007, 08:25 AM
  5. DSP-device fsk'd up ;-(
    By Pantheus in forum Linux - General Topics
    Replies: 28
    Last Post: 09-05-2002, 01:13 AM

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
  •