Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 23 Nov 2014, 10:36
All times are UTC - 4
 Forum index » Off-Topic Area » Security
How to require bootup password for Puppy 5?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [27 Posts]   Goto page: 1, 2 Next
Author Message
webstain

Joined: 25 May 2010
Posts: 4

PostPosted: Tue 25 May 2010, 12:29    Post subject:  How to require bootup password for Puppy 5?  

Hi guys

Currently using puppy 5.0 GREAT - the only hing is that I did not create a pwd for the first reboo and need to add one now for bootup.

Any help would be appreciated.

Regards to the team, great forum

Jean Marc
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11156
Location: Arizona USA

PostPosted: Tue 25 May 2010, 15:57    Post subject:  

How did you install Puppy? (Full install? Frugal? USB flash memory?)

Most computers nowadays have the option to require a password to boot the computer at all, no matter what the operating system. If available, this option is found in the computer's BIOS configuration. What exactly do you want to do, share a computer or just keep people from seeing what's on your computer?
Back to top
View user's profile Send private message 
webstain

Joined: 25 May 2010
Posts: 4

PostPosted: Tue 25 May 2010, 17:30    Post subject: boot pwd
Subject description: password at boot puppy 5.0
 

Hello

It is a install on a USB harddrive that I am carrying around all the time and I do not want anybody having access to my info if they steal it from me and hook it up. So I need a pwd to protect my puppy session boot on that hard drive.

Thanks again for the help

Regards

Jean Marc
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 26 May 2010, 02:26    Post subject:  

Hi Jean Marc

Boot from the USB keydrive
when it says boot:
type p (you have 5 seconds)
then continue typing (you have unlimited time now) so you have:
puppy pfix=ram

Setup Puppy and save any data
Press Menu / Shutdown / reboot

Now it will offer to save your data and use encryption
Choose heavy encryption
During this process you will be prompted for a password

Don't forget your password
your data is encrypted and password protected

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
webstain

Joined: 25 May 2010
Posts: 4

PostPosted: Wed 26 May 2010, 09:50    Post subject:  

Thanks for the advice but maybe I did not express myself correctly

Puppy 5.0 is installed and running out of a USB Hard Drive and I am using it as my Portable OS/Computer where ever I go.

I did not chose to save the profile file with encryption at the first reboot but need to activate it now to protect that puppy volume

Thanks again for your help guys

Regards
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: Thu 27 May 2010, 11:09    Post subject:  

If all you want is to have a boot-up password (ie, password asked when you boot your puppy from your portable harddisk), all you have to do is to edit your /etc/inittab so that it looks like this:
Code:

::sysinit:/etc/rc.d/rc.sysinit
#tty1::respawn:/sbin/getty -n -l /bin/autologinroot 38400 tty1
tty1::respawn:/sbin/getty 38400 tty1
tty2::respawn:/sbin/getty 38400 tty2
tty3::respawn:/sbin/getty 38400 tty3
::ctrlaltdel:/sbin/reboot

Make sure you change the root's default password by running the "passwd" command before you reboot (if you forget, well, the default root password is "woofwoof").

Mind you, this only prevents people from *booting up* your puppy. It *does not* prevent people from looking at files in your harddisk. The only way to keep people from looking at your files is, to follow what Lobster said. And keep your sensitive files inside your encrypted save file, not outside it (ie, anything under /mnt/home is outside the savefile - it won't be protected).

EDIT: Let me clarify what I mean. If someone gets your harddisk, and plugs it in into any other working computer, all the contents would be immediately visible. They don't have to boot your puppy to see the contents. That's why the only solution is encrypted save file - as Lobster said.

cheers!

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread

Last edited by jamesbond on Thu 27 May 2010, 22:52; edited 1 time in total
Back to top
View user's profile Send private message 
smokey01


Joined: 30 Dec 2006
Posts: 1842
Location: South Australia

PostPosted: Thu 27 May 2010, 17:50    Post subject:  

Folder Protection/Ecryption

I wonder If some smart person could get this working in puppy.

http://www.ubuntugeek.com/crypt-manager-an-encrypted-folder-manager-for-ubuntu-linux.html

or

http://code.google.com/p/crypt-manager/

Apparently three files are required they are:

1. conceal_0.0.5-0ubuntu1-all.deb
2. conceal_gtk-0.0.5-0ubuntu1-all.deb
3. nautilus-conceal_0.0.5-0ubuntu1-all.deb

I suppose file number 3. would need to be rewritten to work with ROX.

Unfortunately this needs python which is quite large.

I think this would be a very useful tool for many.

_________________
Puppy Software <-> Distros <-> Puppy Linux Tips
Back to top
View user's profile Send private message Visit poster's website 
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: Fri 28 May 2010, 07:30    Post subject:  

Sounds like a project. Very Happy The conceal thing is only a GUI for encfs, here http://www.arg0.net/encfs. Encfs itself is very easy to build with minimal dependency, and we can do the GUI with a combination of gtkdialog and Xdialog to do the same thing.
_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send private message 
2lss

Joined: 20 Sep 2009
Posts: 225

PostPosted: Fri 28 May 2010, 08:35    Post subject:  

If your using grub as a bootloader you can set it up to prompt for a password.

http://ubuntuforums.org/showthread.php?t=7353
Back to top
View user's profile Send private message 
smokey01


Joined: 30 Dec 2006
Posts: 1842
Location: South Australia

PostPosted: Fri 28 May 2010, 09:13    Post subject:  

I found something here that master_wrong was working on. Looks pretty good but has a couple of small bugs that need to be ironed out.

http://www.murga-linux.com/puppy/viewtopic.php?p=311693#311693

_________________
Puppy Software <-> Distros <-> Puppy Linux Tips
Back to top
View user's profile Send private message Visit poster's website 
p310don

Joined: 19 May 2009
Posts: 732
Location: Brisbane, Australia

PostPosted: Sat 29 May 2010, 01:00    Post subject:  

haven't tried this, but can you remaster the puppy cd from what you have installed, then, making sure that remaster works and has all your info, there is an option to make sure all your personal stuff gets copied in dougal remaster, then format the portable harddrive and reinstall in set your save file to heavy encryption with a password a la lobster's method
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: Sat 29 May 2010, 11:36    Post subject:  

Thanks smokey01 for the info - but I have a different idea of implementing it. Rather than having a central location to keep the list of encrypted directories (btw - this is the same approach taken by conceal-gtk as well), I would rather have an ability to encrypt/decrypt directories on demand.

cheers!

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sat 29 May 2010, 12:02    Post subject:  

This directory encrypter has been coded and released
http://www.murga-linux.com/puppy/viewtopic.php?p=421268#421268

_________________
Puppy WIKI

Last edited by Lobster on Sun 30 May 2010, 22:34; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
smokey01


Joined: 30 Dec 2006
Posts: 1842
Location: South Australia

PostPosted: Sat 29 May 2010, 16:55    Post subject:  

jamesbond wrote:
Thanks smokey01 for the info - but I have a different idea of implementing it. Rather than having a central location to keep the list of encrypted directories (btw - this is the same approach taken by conceal-gtk as well), I would rather have an ability to encrypt/decrypt directories on demand.

cheers!


Cryptkeeper does let you encrypt directories on demand.

Regards

_________________
Puppy Software <-> Distros <-> Puppy Linux Tips
Back to top
View user's profile Send private message Visit poster's website 
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: Sun 30 May 2010, 00:46    Post subject:  

Yes, but that's not what I mean. Perhaps I don't say it clearly enough.

I would like to be able to go to any folder in Rox, right-click it, and choose "encrypt" from the popup menu. I will be asked for a password - and after that my folder will be encrypted. Similar functionalities for "open encrypted folder" and "close encrypted folder". Of course, once I'm tired with this stuff, I can always choose "decrypt" and remove all encryption, turning it back to a normal folder.

I've completed some scripts to do exactly that - I just need to clean it up and make it a little bit prettier. It depends only on EncFS (just like the conceal stuff) and Xdialog - a whooping 12K uncompressed Smile no python stuff.

cheers!

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [27 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Security
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0786s ][ Queries: 11 (0.0060s) ][ GZIP on ]