Page 1 of 2

Website Login Credentials

Posted: 12 Aug 2013, 08:35
by Andy
Hi Everybody,

The Startsite on my Kiosk should be a Intranet-Site of our Company.
This Site needs Credentials do login. Is it possible to save this Credentials in Firefox in the .iso so that the Login Dialog disappears?

Thanks for the help!

Andy

Re: Website Login Credentials

Posted: 12 Aug 2013, 09:22
by Hamza
Hi,

You could extract the cache from a vanilla firefox install (preferably Firefox on latest Porteus) and past it into kiosk one to let it use the cache for any new connections.

Cheers!

Re: Website Login Credentials

Posted: 12 Aug 2013, 10:26
by fanthom
kiosk starts in 'private mode' by default (so personal data are not saved anywhere) so you have to change following options in 003-settings.xzm/home/guest/.mozilla/firefox/c3pp43bg.default/prefs.js:

Code: Select all

user_pref("browser.privatebrowsing.autostart", true);

Code: Select all

user_pref("signon.rememberSignons", false);
now you can add required files (like signons.sqlite - maybe something else) to 003-settings.xzm/home/guest/.mozilla/firefox/c3pp43bg.default/ folder -> recreate 003-settings.xzm module -> build new ISO.

Re: Website Login Credentials

Posted: 12 Aug 2013, 13:03
by Andy
Thanks for the replies!
Is it possible to recreate the 003-settings.xzm module in ubuntu?

Re: Website Login Credentials

Posted: 12 Aug 2013, 15:20
by fanthom
please read this document and pay a special attention to answer number 1
link

Re: Website Login Credentials

Posted: 13 Aug 2013, 08:02
by Andy
Great! thank you for your patience!
Now my last question. How I can get the new 003-settings.xzm into the iso? The Kiosk Wizard takes every time the old 003-settings.xzm instead of my new.

Re: Website Login Credentials

Posted: 13 Aug 2013, 08:18
by Andy
i found this: http://www.porteus.org/component/conten ... ctory.html
But the folder is read-only on my usb-stick :(

Re: Website Login Credentials

Posted: 13 Aug 2013, 08:24
by fanthom
hi Anady,

for security purpose kiosk kernel supports only is09660 filesystem which read only by design so you have to:
a) unpack the ISO
b) modify files
c) create new ISO with 'make_iso.sh-org'
d) burn on usb

Re: Website Login Credentials

Posted: 13 Aug 2013, 12:57
by Andy
hi fanthom,

ok, have done the new iso.. but the login screen is still there..
Any chance to show the config if the kiosk is running to check everthing is korrekt?

Re: Website Login Credentials

Posted: 13 Aug 2013, 15:31
by Hamza
Login screen?! You seems to have forgotten the cookies that save the session cookie. No cookie, no session.

Re: Website Login Credentials

Posted: 13 Aug 2013, 16:36
by fanthom
have done the new iso.. but the login screen is still there..
not sure if i follow you... do you want to autologin to this site? is it possible that you could take a screenshot of the site you want to enter and share so we would know what kind of authorization is needed (maybe cookies could help as suggested by hamza?)
Any chance to show the config if the kiosk is running to check everthing is korrekt?
do you mean a firefox config? if yes then you could run the wizard once again and enable 'file://' protocol then apply your customizations and create new ISO. i would recommend to always test in Virtualbox (faster than burning on usb, rebooting PC, etc).
once you boot kiosk just type 'file://' in the address bar and navigate to /home/guest/.mozilla/firefox/c3pp43bg.default then check prefs.js

Re: Website Login Credentials

Posted: 14 Aug 2013, 11:29
by Andy
fanthom wrote:
have done the new iso.. but the login screen is still there..
not sure if i follow you... do you want to autologin to this site? is it possible that you could take a screenshot of the site you want to enter and share so we would know what kind of authorization is needed (maybe cookies could help as suggested by hamza?)
yes i want to autologin to the site after the start of the kiosk and firefox. i'll give this with cookies a try..
here is the screen..
Image

Re: Website Login Credentials

Posted: 14 Aug 2013, 11:38
by Hamza
So you need the database of logins (signon) + the cookies that are generated by this dialog box.

Re: Website Login Credentials

Posted: 21 Aug 2013, 05:38
by Andy
Any Idea how i can extract the cookies?

Re: Website Login Credentials

Posted: 21 Aug 2013, 23:51
by brokenman
The Startsite on my Kiosk should be a Intranet-Site of our Company.
If i understand correctly, Andy wants the homepage to be a local site from his intranet. This will require saving database & cookie files however these are stored in the user folder which is over written every time firefox restarts.