Page 1 of 1

Save credentials in Firefox

Posted: 21 Mar 2019, 11:54
by Funtik
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?

Save credentials in Firefox

Posted: 21 Mar 2019, 12:44
by fanthom
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.

Save credentials in Firefox

Posted: 22 Mar 2019, 05:05
by Funtik
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.

Save credentials in Firefox

Posted: 22 Mar 2019, 12:56
by fanthom
"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

Save credentials in Firefox

Posted: 12 Feb 2020, 11:42
by ilium007
@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.