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 22 Sep 2019, 07:53
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to change password for encrypted USB key install?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
vancardboardbox

Joined: 07 Oct 2008
Posts: 8

PostPosted: Tue 14 Jul 2009, 16:22    Post subject:  How to change password for encrypted USB key install?
Subject description: Or remove encryption?
 

Having spent some time customizing a USB install of Puppy 4.2.1 I now wish to share the goodness by giving clones of my key to a few friends and family.

The problem is that I chose light encryption and created a password for login when I installed and I do not want folks using this password. Can the password be changed? Can encryption and password protection be removed?

Thanks!
Back to top
View user's profile Send private message 
fratermus


Joined: 28 May 2009
Posts: 20
Location: 75081

PostPosted: Wed 15 Jul 2009, 08:45    Post subject: Re: How to change password for encrypted USB key install?
Subject description: Or remove encryption?
 

vancardboardbox wrote:
The problem is that I chose light encryption and created a password for login when I installed and I do not want folks using this password. Can the password be changed? Can encryption and password protection be removed?


Dunno the answer but I am following along with interest.

There is/was a .pet that alters/adds/removes encryption but it was released in the Puppy 3.x timeframe. I tried to use it on my HD-installed 4.2.1 box and totally hosed my savefile.

* puppy wouldn't ignore the save file with pfix=ram, etc.
* puppy blew up trying to use the save file
therefore
* puppy would not run

I may have misused the tool, but it was so jacked that I had to use a non-Puppy OS to reformat the SSD so puppy couldn't see the hosed saved file and blow up trying to read it. After I reformatted the SSD I reinstalled 4.2.1 with the desired amount of encryption.
Back to top
View user's profile Send private message Visit poster's website 
vancardboardbox

Joined: 07 Oct 2008
Posts: 8

PostPosted: Wed 15 Jul 2009, 17:00    Post subject:  

^I think you are referring to file encryption within the file system. I am referring to an option to encrypt and password protect the save file on a USB install. This is a user option that I only see referred to on the very first save of a USB Puppy - the user can specify heavy, light or no encryption. Selecting heavy or light requires setting a password.

I have been unable to find a means of changing this once it has been set up on the first save. Hoping someone out there knows how.
Back to top
View user's profile Send private message 
fratermus


Joined: 28 May 2009
Posts: 20
Location: 75081

PostPosted: Wed 15 Jul 2009, 17:27    Post subject:  

vancardboardbox wrote:
^I think you are referring to file encryption within the file system. I am referring to an option to encrypt and password protect the save file on a USB install. This is a user option that I only see referred to on the very first save of a USB Puppy - the user can specify heavy, light or no encryption.


That's what I am talking about. There is a tool in this thread that will allow you to change light/heavy/none after making that initial choice. But it blew up in my face as described above.

Quote:
resizes and/or changes the encryption mode and/or changes the file system of your pupsave, by generating a new one from your currently-booted pupsave. It leaves the old one untouched. With this tool, the following tasks can be accomplished:
1) Resize the pupsave larger or smaller (within reason). Size does not have to be a power of 2; if you want a 439MB pupsave, you can have it.
2) Change from using the default cleartext pupsave to an encrypted one.
3) Change from using an encrypted pupsave back to a cleartext one (perhaps for reason of maintenance), or change which encryption algorithm is used.
4) Change the password on your encrypted pupsave (by simply generating another encrypted pupsave with a different password).
5) Change from an ext3 to an ext2 pupsave, or vice versa.


There's the tool; you have been warned. Shocked
Back to top
View user's profile Send private message Visit poster's website 
PaulBx1

Joined: 16 Jun 2006
Posts: 2307
Location: Wyoming, USA

PostPosted: Thu 16 Jul 2009, 00:04    Post subject:  

I assume you are referring to my utility, convert-pupsave? This is the first complaint I've heard about it.

Hard to see how it could mess up an existing pupsave, since it only reads from it, creating a new pupsave at the end and leaving the old one alone. However it wouldn't hurt to be paranoid, and make a backup copy of your pupsave before you start. In fact that is a good habit to get into, when doing anything unusual, even just installing pets.

It sounds more like you had a file system problem. Puppy not being able to boot "pfix=ram" is a clue. I do warn people to use it only after a reboot.

It can be used to change passwords or eliminate encryption on the newly-created pupsave.
Back to top
View user's profile Send private message 
fratermus


Joined: 28 May 2009
Posts: 20
Location: 75081

PostPosted: Thu 16 Jul 2009, 01:12    Post subject:  

PaulBx1 wrote:
Hard to see how it could mess up an existing pupsave, since it only reads from it, creating a new pupsave at the end and leaving the old one alone.
...
It sounds more like you had a file system problem. Puppy not being able to boot "pfix=ram" is a clue. I do warn people to use it only after a reboot.


{Edit: didn't mean it as a complaint; I appreciate your work and the work of the other developers. I pointed the OP to your utility but could not in good conscience omit the fact that it didn't end well for my OS. Seems to work fine for everybody else as far as I can tell.}


I don't know how it got cross-threaded. Like I said, I could have misused it or been sniffing glue or something. I don't have a way to know if the old or new pupsave was blown. But it was a completely vanilla and normal-acting box until I tried to encrypt a previously-unencrypted pupsave file. I concede that it could be coincidence.

After I rebooted it was absolutely resistant to booting into any mode of Puppy that I could find. Couldn't even use a fresh puppy BootUSB image to rescue the situation. Whatever was now on the SSD was luring in the puppy boot sequence like a tractor beam. I used some other LiveUSB distro to wipe the SSD and start fresh. Puppy happily booted off USB from that point on.

If the filessystem blew the frak up perhaps I gave the utility bad info, or it died while making the new pupsave fs and took the the SSD's filesystem down with it in some exotic way. Dunno.
Back to top
View user's profile Send private message Visit poster's website 
vancardboardbox

Joined: 07 Oct 2008
Posts: 8

PostPosted: Thu 16 Jul 2009, 14:43    Post subject:  

Sorry for my confusion, fratermus. I checked out that thread and gave the utility a go. First attempt failed due to partition issues on the USB key. I had cloned this key from my original using dd but failed to note that I was copying a 8GB partition to a 4GB key! Issues, naturally.

Cloned again using a different technique, gave the utility another try and it worked swimmingly! No more encryption or password. Many thanks!
Back to top
View user's profile Send private message 
Barkin


Joined: 12 Aug 2011
Posts: 830

PostPosted: Fri 23 Nov 2012, 06:42    Post subject: I have a complaint ...
Subject description: I want my 25Mb back
 

PaulBx1 wrote:
I assume you are referring to my utility, convert-pupsave? This is the first complaint I've heard about it ... It can be used to change passwords or eliminate encryption on the newly-created pupsave.

I have a complaint, I just used your utility to create a new encrypted savefile with a new password. Everything seems fine except the new savefile has 25Mb less free space than the old one. The original and new savefiles were both the same size (512Mb), but the new one has 25Mb less free space, (both with heavy encryption, both ".2fs" type).

Is there a 25Mb temporary file made during the creation of the new savefile which I can now delete to get the free space back ?.

Or possibly 25Mb worth of duplicate files have accidentally been created ?

[ I'm still using Lupu-525, which may be relevant, on a USB memory stick ]
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.1008s ][ Queries: 11 (0.0299s) ][ GZIP on ]