Website Login Credentials

Share your opinion about Porteus Kiosk Edition.
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
Andy
White ninja
White ninja
Posts: 10
Joined: 12 Aug 2013, 08:31
Distribution: Kiosk Edition 2.1
Location: Switzerland

Website Login Credentials

Post#1 by Andy » 12 Aug 2013, 08:35

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

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Website Login Credentials

Post#2 by Hamza » 12 Aug 2013, 09:22

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!
NjVFQzY2Rg==

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

Re: Website Login Credentials

Post#3 by fanthom » 12 Aug 2013, 10:26

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.
Please add [Solved] to your thread title if the solution was found.

Andy
White ninja
White ninja
Posts: 10
Joined: 12 Aug 2013, 08:31
Distribution: Kiosk Edition 2.1
Location: Switzerland

Re: Website Login Credentials

Post#4 by Andy » 12 Aug 2013, 13:03

Thanks for the replies!
Is it possible to recreate the 003-settings.xzm module in ubuntu?

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

Re: Website Login Credentials

Post#5 by fanthom » 12 Aug 2013, 15:20

please read this document and pay a special attention to answer number 1
link
Please add [Solved] to your thread title if the solution was found.

Andy
White ninja
White ninja
Posts: 10
Joined: 12 Aug 2013, 08:31
Distribution: Kiosk Edition 2.1
Location: Switzerland

Re: Website Login Credentials

Post#6 by Andy » 13 Aug 2013, 08:02

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.

Andy
White ninja
White ninja
Posts: 10
Joined: 12 Aug 2013, 08:31
Distribution: Kiosk Edition 2.1
Location: Switzerland

Re: Website Login Credentials

Post#7 by Andy » 13 Aug 2013, 08:18

i found this: http://www.porteus.org/component/conten ... ctory.html
But the folder is read-only on my usb-stick :(

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

Re: Website Login Credentials

Post#8 by fanthom » 13 Aug 2013, 08:24

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
Please add [Solved] to your thread title if the solution was found.

Andy
White ninja
White ninja
Posts: 10
Joined: 12 Aug 2013, 08:31
Distribution: Kiosk Edition 2.1
Location: Switzerland

Re: Website Login Credentials

Post#9 by Andy » 13 Aug 2013, 12:57

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?

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Website Login Credentials

Post#10 by Hamza » 13 Aug 2013, 15:31

Login screen?! You seems to have forgotten the cookies that save the session cookie. No cookie, no session.
NjVFQzY2Rg==

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

Re: Website Login Credentials

Post#11 by fanthom » 13 Aug 2013, 16:36

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
Please add [Solved] to your thread title if the solution was found.

Andy
White ninja
White ninja
Posts: 10
Joined: 12 Aug 2013, 08:31
Distribution: Kiosk Edition 2.1
Location: Switzerland

Re: Website Login Credentials

Post#12 by Andy » 14 Aug 2013, 11:29

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

User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Website Login Credentials

Post#13 by Hamza » 14 Aug 2013, 11:38

So you need the database of logins (signon) + the cookies that are generated by this dialog box.
NjVFQzY2Rg==

Andy
White ninja
White ninja
Posts: 10
Joined: 12 Aug 2013, 08:31
Distribution: Kiosk Edition 2.1
Location: Switzerland

Re: Website Login Credentials

Post#14 by Andy » 21 Aug 2013, 05:38

Any Idea how i can extract the cookies?

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Website Login Credentials

Post#15 by brokenman » 21 Aug 2013, 23:51

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.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Locked