How to require a password to continue booting to desktop
Note:
if you have encrypted save files that require passwords.
At booting point of loading the save.
That is going to require the save file password, before boot up continues.
So, following is not needed.
Turn off autologin and require entering a password.
Boot to the point a password is required, to continue booting to the desktop.
Why do this?
Because you like to use passwords and do not want to autologin.
This is for booting on newer versions of Puppy.
First, make sure you have the boot menu option to boot, not using the save. (pfix=ram)
If it does not work.
You can boot, not using the save, and delete from the save, the bad file.
For some reason, to get it working, had to first change the root password.
in a terminal.
Code: Select all
passwd
change password and remember it.
Edit this file:
/bin/autologin
on line 7
Remove the -f after login
Line 7 now looks like this:
Code: Select all
exec login $LOGINUSER
It now boots to a point that you must enter the password for root.
If this does not work.
Boot not using the save.
Open the save and navigate to /bin/
Delete the autologin file.
Now the save will boot, using the original autologin.
On very old versions of Puppy. It is done a little differently.
Read note below before doing this.
Change the root password as already shown how.
Open this file in a text editor.
/etc/inittab
remove the autologin command
make the fisrt tty1 line look like the second tty2 line.
So tty1 and tty2 will be the same.
NOTE:
If you open the /etc/inittab file and it looks similar to this:
::sysinit:/etc/rc.d/rc.sysinit
tty1::respawn:plogin
tty2::respawn:getty 38400 tty2
::ctrlaltdel:/sbin/reboot
You have the newer autologin, so use the first method, to turn off autologin.