Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-12-2004, 04:29 AM   #1
LQ Newbie
Registered: Feb 2004
Posts: 5

Rep: Reputation: 0
Question Howto login as root with no password (automatically)

I'm currently creating a Live CD using Slackware Linux, and I would like to know how it would be possible for the CD to automatically login as root without prompting for a username and password (Just the way Knoppix does it)

I tried: "/bin/bash --login" - however, once it automatically gets logged in as root, most of the environment variables are missing and it only recognizes the root home as "/" rather than "/root" ...

I also tried exactly the way Knoppix did it in its inittab and I got the same result as "/bin/bash --login" (/etc/inittab for the first terminal entry, which is by default using agetty). Does it require a modification for some other setting?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql: still can't login after root password reset andredude Linux - Software 4 12-19-2014 06:30 PM
Redhat 9 root login password jmzcons Linux - Software 1 02-27-2005 04:30 PM
ROOT LOGIN OK, su password NOT OK Darrell_Thomas_ Linux - Security 3 10-19-2004 02:32 PM
no password prompt after root login taboo Linux - General 1 12-22-2003 01:01 PM
Removing Root Password/Auto login friendklay Linux - General 7 05-13-2003 04:49 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration