Securing puppy linux: Set password for root

After you boot up do the following:

1. open console type 'passwd root'. enter your new password twice.

2. run 'lock' on desktop and enter password from step 1

You may want to select 'blank' from the config to save on processor usage

3. edit /etc/inittab to look like this:

::sysinit:/etc/rc.d/rc.sysinit
tty1::respawn:/sbin/getty 38400 tty1
tty2::respawn:/sbin/getty 38400 tty2
::ctrlaltdel:/sbin/reboot


This keeps someone from killing lock with ctrl+alt+backspace and
logging back in automatically and also gives the option on bootup to
enter 'root' and 'password'.

4. run the firewall wizard at Menu->Setup->Linux-Firewall Wizard.
automagic works fine if you don't have to set up any local services.

5. shutdown and select 'heavy encryption' for save file.

Source: http://www.murga-linux.com/puppy/viewtopic.php?t=18639

No comments: