How to have Puppy require a password to load? (Solved)
- fabrice_035
- Posts: 765
- Joined: Mon 28 Apr 2014, 17:54
- Location: Bretagne / France
How to have Puppy require a password to load? (Solved)
Hi,
Can you tell me if it possible to add prompt to answer a password before load puppy ?
Regard.
Can you tell me if it possible to add prompt to answer a password before load puppy ?
Regard.
Encrypting Save File
Hi
It is possible to password protect your data. When you first shut a Puppy down your are asked if you want a Save File. If you say Yes then you will go through a series of questions about its size and where you want to save it. One of them will be if you want to encrypt it. If you want this select it and enter your password. Now when you next switch it on the system will detect this and asked you for your password before it powers up.
This is an explanation of what is happening in the case of a frugal installation.
A frugal install has 2 or 3 directories in it: vmlinuz, initrd.gz and sometimes another .sfs file. These are the files needed to get Puppy going. These do not change as you use Puppy. Any changes and personal data is held in a save file. If you create a save file it will be of the form xxxxxsave.4fs. And of course this is the one that gets encrypted if you desire this.
Hope this helps.
Oh and by the way, if you want to get rid of what is saved you just delete the save file and power Puppy up and start again.
peterw
It is possible to password protect your data. When you first shut a Puppy down your are asked if you want a Save File. If you say Yes then you will go through a series of questions about its size and where you want to save it. One of them will be if you want to encrypt it. If you want this select it and enter your password. Now when you next switch it on the system will detect this and asked you for your password before it powers up.
This is an explanation of what is happening in the case of a frugal installation.
A frugal install has 2 or 3 directories in it: vmlinuz, initrd.gz and sometimes another .sfs file. These are the files needed to get Puppy going. These do not change as you use Puppy. Any changes and personal data is held in a save file. If you create a save file it will be of the form xxxxxsave.4fs. And of course this is the one that gets encrypted if you desire this.
Hope this helps.
Oh and by the way, if you want to get rid of what is saved you just delete the save file and power Puppy up and start again.
peterw
- fabrice_035
- Posts: 765
- Joined: Mon 28 Apr 2014, 17:54
- Location: Bretagne / France
right, but i search a easy way. Where i can insert this script ?
Regard.
Code: Select all
#!/bin/sh
for ((;;))
do
read -p "Password ?" choice
case "$choice" in
mypass ) echo "ok enter";break;;
* ) echo "invalid";;
esac
done
- fabrice_035
- Posts: 765
- Joined: Mon 28 Apr 2014, 17:54
- Location: Bretagne / France
- fabrice_035
- Posts: 765
- Joined: Mon 28 Apr 2014, 17:54
- Location: Bretagne / France
Well I thought you might be interested since you looked like a bit of an experimenter
By changing init to not autologin you are then using the standard login method that linux uses....the password is stored encrypted in /etc/shadow
You could also create non root users and login with those but puppy is not set up to handle that well.
You can alter it using passwd ...I believe its set to woofwoof as default.
mike
By changing init to not autologin you are then using the standard login method that linux uses....the password is stored encrypted in /etc/shadow
You could also create non root users and login with those but puppy is not set up to handle that well.
You can alter it using passwd ...I believe its set to woofwoof as default.
mike
- perdido
- Posts: 1528
- Joined: Mon 09 Dec 2013, 16:29
- Location: ¿Altair IV , Just north of Eeyore Junction.?
Consolidation of information.
How to add login and password to Tahrpup 6.0.5? [SOLVED]
The user originally referenced this post
HOWTO add login and password when booting Puppy
.
How to add login and password to Tahrpup 6.0.5? [SOLVED]
The user originally referenced this post
HOWTO add login and password when booting Puppy
.