PDA

View Full Version : disable autologin



wjp79
02-24-2012, 11:25 AM
Hello people,

I am creating a customized knoppix (hd install, kn-customiz script).
How do I enable user login to shell so it will ask for a password.

I am running my own script in window 1, but I want to login to shell in window 9.
My current innittab:

10:12345:respawn:su -c "exec bash - login" - okepc </dev/tty9 >/dev/tty9 2>&1

This will log in user "okepc", but I dont get a login prompt. I already set a user password..

Tnx in advance

klaus2008
02-25-2012, 09:16 AM
Did you read the thread Disable auto login in Knoppix 6.2 (http://knoppix.net/forum/threads/28208-Disable-auto-login-in-Knoppix-6.2)? Posts #13 and #14 should give you some hints.

wjp79
02-27-2012, 02:42 PM
Hello

Ok, that worked on my hd installation.
I added the following line in both the "inittab" and the "inittab.adriane" file: 9:2: respawn: /sbin/getty 38400 tty9
Now I get a password prompt.

But it does not work when i boot an remastered iso created by the kn-remaster script.
I edited the isolinux.cfg file and use the "adriane" boot option to boot the modified inittab.adriane file.

What am I missing here?

WJP79

wjp79
02-27-2012, 03:16 PM
Hello,

Never mind, found the solution.

I had to append to lvl 2 in isolinux.cfg

APPEND 2 ramdisk_size10000 lang=us keyboard=us adriane

Tnx

Werner P. Schulz
02-27-2012, 11:24 PM
But it does not work when i boot an remastered iso created by the kn-remaster script.If you use the kn-remaster script and also use my new Bootmenu, be aware, only a short version of 'isolinux.cfg' will be used!

Instead of it 'knoppix.menu' will be used; here you can insert your cheatcodes.

If you don't like my Bootmenu, the short version of 'isolinux.cfg' will be overwritten with the origin version of it. Now you have to insert your cheatcodes in 'isolinux.cfg'.

Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
Own Rescue-CD (Knoppix V6.7.1 remaster)