Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: Magil on February 03, 2010, 04:21:52 AM

Title: Password at startup
Post by: Magil on February 03, 2010, 04:21:52 AM
Hello, im trying to get TCL to prompt me for a passord at startup. I tried chpasswd and made a password for tc and root, then i saved shadow and restarted. Now i dont get a password on prompt but my root passwd changed like it is supposed to. Can anyone tell me what i have to change to get a question for passwd at prompt? Thanks.
Title: Re: Password at startup
Post by: curaga on February 03, 2010, 06:45:20 AM
Bootcode "noautologin"
Title: Re: Password at startup
Post by: saravanan on February 03, 2010, 07:20:42 AM
Hi curaga,
can you please elaborate?
I guess it not a kernel parameter.
or where do we need to specify the "noautologin" ??
Title: Re: Password at startup
Post by: curaga on February 03, 2010, 07:54:57 AM
http://tinycorelinux.com/wiki/tiki-index.php?page=Boot+codes+explained

This explains it pretty well. They're not kernel parameters, but still entered in the same place.
Title: Re: Password at startup
Post by: Magil on February 03, 2010, 07:57:22 AM
Thank you curaga!
For others who would like to do this, you must save your changed passwords by adding /etc/shadow to your filetool.lst, and then add the "noautologin" to your boot line.
Cheers  :)