Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Convert Multi-user installation to Single-user< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 26 2006,16:26 QUOTE

Are you booting into runlevel 5?
If the above files are changed properly, I was guessing that it would automatically log dsl in after boot process completed.

As far as I can tell, there must be something else that is changed from the default system when doing a traditional HD install.

Keep in mind that my suggestions here are only suggestions, and not step-by-step instructions (note the disclaimer in each of my posts).  You're free to interpret what i say any way you like, but i won't be held responsible for killing your system.  As with anything, the safest course of action is usually a reinstall, and trying unproven theories can easily lead to destruction.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
1nt3rfe4r Offline





Group: Members
Posts: 5
Joined: Jan. 2006
Posted: Jan. 26 2006,16:36 QUOTE

Quote (mikshaw @ Jan. 26 2006,11:26)
Are you booting into runlevel 5?
If the above files are changed properly, I was guessing that it would automatically log dsl in after boot process completed.

As far as I can tell, there must be something else that is changed from the default system when doing a traditional HD install.

Keep in mind that my suggestions here are only suggestions, and not step-by-step instructions (note the disclaimer in each of my posts).  You're free to interpret what i say any way you like, but i won't be held responsible for killing your system.  As with anything, the safest course of action is usually a reinstall, and trying unproven theories can easily lead to destruction.

I completely understand that if i break something that its my fault.... But i simply do not have enough know-how to fix this kind of thing myself, so i just try some things i read and hope it helps... And if not, well, too bad.

And... erm.... i have absolutely no idea what a 'runlevel' is, so i guess ill google around until i do know!  :cool: Thanks!
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 26 2006,16:45 QUOTE

The easiest way to tell is to look at the screen during boot.  Just before you get the login prompt, it should say something like "Entering runlevel 5".  This is the only runlevel that will automatically log in dsl using the default setup.

I was hoping that you would at least be automatically logged in as root, which now makes me wonder if there is some other thing in the init process that is altered when doing a multi-user HD install, maybe something in /etc/init.d/rc5.d.

If other changes can't be found, perhaps a command could be added to the end of /opt/bootlocal.sh:
Code Sample
source /.bash_profile

As with the others, i don't know if this will work, but it seems like it would force /.bash_profile to be run, which would log you in as dsl.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
1nt3rfe4r Offline





Group: Members
Posts: 5
Joined: Jan. 2006
Posted: Jan. 26 2006,18:56 QUOTE

Quote (mikshaw @ Jan. 26 2006,11:45)
If other changes can't be found, perhaps a command could be added to the end of /opt/bootlocal.sh:
Code Sample
source /.bash_profile


That won't be necessary, and you are now officially allowed to shoot me....

For some reason the modifications I made to /etc/inittab had not been saved... maybe its got something to do with the fact that the DSL-user acc still had a password when i tried that, or (more likely) i just pushed some wrong button :D

Anyways, now that the password is removed and the 3 files are modified in the exact way you posted before the computer boots directly into X, no questions asked!

And for good measure, my system was at runlevel 5 when it prompted me for the username, the problem was probably just in my inittab file.

Thanks a million! My problem has been solved  :laugh:
Back to top
Profile PM 
IT WORKS!!!
Unregistered






Posted: Mar. 10 2006,18:41 QUOTE

Thanks.  It works.
Here is the solution:

remove the password for dsl with passwd -d

put source/.bash_profile in the /opt/bootlocal.sh

make sure /etc/inittab is set to id:5:initdefault:

Thanks to everyone.

ken
Back to top
10 replies since Jan. 20 2006,20:15 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: Convert Multi-user installation to Single-user

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code