Save credentials in Firefox

Here you can post about the issues related to modifications performed manually (not through the kiosk wizard). Example: swapped kernel, added 3rd party modules or files.
Please describe in detail what has been changed and hopefully other kiosk user will be able to help.
Porteus team wont resolve bugs posted in this category as we support only modifications made by the kiosk wizard.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
Funtik
White ninja
White ninja
Posts: 19
Joined: 17 Mar 2019, 12:23
Distribution: Private

Save credentials in Firefox

Post#1 by Funtik » 21 Mar 2019, 11:54

How competently in the current version of Porteus Kiosk to prepare an image so that credentials, that is, login and password, are saved on a specific site in firefox.

Correctly, I understand that in prefs.js you need to disable private mode, log in to the site with the password, and then save the changes to the ISO?

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Save credentials in Firefox

Post#2 by fanthom » 21 Mar 2019, 12:44

You should do this on a clean Firefox 52.x profile under Ubuntu. And remaster the kiosk installation ISO then.
Or you could do as you wrote and copy files over SSH from kiosk.

Moving to 'User's modifications to the Kiosk ISO' subforum.
Please add [Solved] to your thread title if the solution was found.

Funtik
White ninja
White ninja
Posts: 19
Joined: 17 Mar 2019, 12:23
Distribution: Private

Save credentials in Firefox

Post#3 by Funtik » 22 Mar 2019, 05:05

Thank you for help.

Is the changes made via ssh saved? I assumed that the file system, including the guest profile (with prefs.js and user.js), is read-only?

I assumed that from the unpacked image the profile is loaded in firefox in a regular desktop operating system, for example, in ubuntu, having previously disabled private mode in prefs.js. The browser is closed, the ISO image is saved and installed on the target kiosk.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Save credentials in Firefox

Post#4 by fanthom » 22 Mar 2019, 12:56

"Is the changes made via ssh saved?"
No - unless you use 'persistence=full' parameter (it still applies to /home/guest folder and not whole root '/').

"I assumed that the file system, including the guest profile (with prefs.js and user.js), is read-only?"
Its actually a virtual filesystem where new/updated files are saved in RAM and wiped during kiosk reboot.

"I assumed that from the unpacked image the profile is loaded in firefox in a regular desktop operating system, for example, in ubuntu, having previously disabled private mode in prefs.js. The browser is closed, the ISO image is saved and installed on the target kiosk."
I dont understand this part.

I think it would be easiest if you modify your Firefox profile under Ubuntu and then copy relevant files from it to kiosk ISO (pack them into separate module preserving correct files permissions and ownership).

In case of troubles i recommend kiosk customized builds service:
https://porteus-kiosk.org/builds.html

Thanks
Please add [Solved] to your thread title if the solution was found.

ilium007
Ronin
Ronin
Posts: 1
Joined: 12 Feb 2020, 11:39
Distribution: Porteus Kiosk

Save credentials in Firefox

Post#5 by ilium007 » 12 Feb 2020, 11:42

@Funtik - was there ever an update on this? Spent hours trying to get passwords and cookies saved in Porteus-Kiosk-4.9.0 but have had no luck following forum replies from 2014.

I have tried changing prefs.js and updating the 003-xxfirefoxxxx.xzm (not sure of file name now) module and the re-injecting into the ISO but it still doesn't work.

Locked