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: (2) </ [1] 2 >/

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

reply to topic new topic new poll
Topic: Disable Autologin< Next Oldest | Next Newest >
Vanilla Offline





Group: Members
Posts: 3
Joined: May 2004
Posted: June 14 2004,20:37 QUOTE

Hi All!

Any chance to disable the Autologin?
If i try to start Runlevel 3, DSL is automatic login as root.


regards
Stefan
Back to top
Profile PM 
indomie_telor Offline





Group: Members
Posts: 1
Joined: June 2005
Posted: June 16 2005,09:37 QUOTE

I Think you should reinstall your DSL .. and choose enable multiuser ..






Ryan
gitu kali mas .. coba ajah dulu
Back to top
Profile PM 
agus
Unregistered






Posted: July 25 2005,14:49 QUOTE

Well,
I tried doing dsl-hdinstall for multiusers and singleuser and I found the difference in /etc/inittab:

for singleuser with autologin:
< 1:12345:respawn:/bin/bash -login >/dev/tty1 2>&1 </dev/tty1
< 2:234:respawn:/bin/bash -login >/dev/tty2 2>&1 </dev/tty2
< 3:234:respawn:/bin/bash -login >/dev/tty3 2>&1 </dev/tty3
< 4:234:respawn:/bin/bash -login >/dev/tty4 2>&1 </dev/tty4

for multiuser and no autoloin:
> 1:2345:respawn:/sbin/getty 115200 tty1
> 2:2345:respawn:/sbin/getty 115200 tty2
> 3:2345:respawn:/sbin/getty 115200 tty3
> 4:2345:respawn:/sbin/getty 115200 tty4

I haven't tried this myself.  Let me know if you find out anyhing.


Agus
Back to top
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 25 2005,15:22 QUOTE

Agus is correct.  You don't need to reinstall...just edit a couple of files.
Use /sbin/getty instead of /bin/bash in /etc/inittab.
/.bash_profile should be edited to remove the lines concerning "su dsl" (or just delete that file if it will make things easier).
/home/dsl/.bash_profile should be edited to remove the lines concerning "startx".
You will also need to set up passwords if you haven't already done this.

This works for me, but another user has expressed that it didn't work for him, so it apparently isn't a universal solution.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
dexdex
Unregistered






Posted: Nov. 04 2005,17:32 QUOTE

Is there a new solution to disable the autologin outthere? I replaced the bin/bash with sbin/getty and add the /etc/inittab to the backup filetool but it didnt work ;-( I can not use the multiuser hd-install because I use the usb stick with usb-zip pendrive install version.
Back to top
9 replies since June 14 2004,20:37 < Next Oldest | Next Newest >

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

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Disable Autologin

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