[Users] Configure VNC-Password timeout

Hi, the default timeout for the vnc passwords is 2 Minutes. I'd like to reconfigure this. Is there an engine-config value or is this hardcoded? How can this be changed? -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

----- Original Message -----
From: "Sven Kieske" <S.Kieske@mittwald.de> To: "Users@ovirt.org List" <Users@ovirt.org> Sent: Monday, January 20, 2014 2:41:29 PM Subject: [Users] Configure VNC-Password timeout
Hi,
the default timeout for the vnc passwords is 2 Minutes. I'd like to reconfigure this.
Is there an engine-config value or is this hardcoded? How can this be changed?
It seems to be hardcoded on the frontend: VncConsoleModel.java: ... private static final int TICKET_VALIDITY_SECONDS = 120; ... I would say it would not hurt to have this configurable - could you please open a bug on this? Thank you, Tomas
-- Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi, thanks for the fast reply, I already feared this answer. Against which component should I open the BZ? Am 20.01.2014 14:58, schrieb Tomas Jelinek:
----- Original Message -----
From: "Sven Kieske" <S.Kieske@mittwald.de> To: "Users@ovirt.org List" <Users@ovirt.org> Sent: Monday, January 20, 2014 2:41:29 PM Subject: [Users] Configure VNC-Password timeout
Hi,
the default timeout for the vnc passwords is 2 Minutes. I'd like to reconfigure this.
Is there an engine-config value or is this hardcoded? How can this be changed?
It seems to be hardcoded on the frontend: VncConsoleModel.java: ... private static final int TICKET_VALIDITY_SECONDS = 120; ...
I would say it would not hurt to have this configurable - could you please open a bug on this?
-- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

On Jan 20, 2014, at 15:26 , Sven Kieske <S.Kieske@mittwald.de> wrote:
Hi,
thanks for the fast reply, I already feared this answer.
btw, password can be disabled completely via vdsm hook; or the password/validity can be altered in after_vm_set_ticket hook I suppose as well.
Against which component should I open the BZ?
webadmin
Am 20.01.2014 14:58, schrieb Tomas Jelinek:
----- Original Message -----
From: "Sven Kieske" <S.Kieske@mittwald.de> To: "Users@ovirt.org List" <Users@ovirt.org> Sent: Monday, January 20, 2014 2:41:29 PM Subject: [Users] Configure VNC-Password timeout
Hi,
the default timeout for the vnc passwords is 2 Minutes. I'd like to reconfigure this.
Is there an engine-config value or is this hardcoded? How can this be changed?
It seems to be hardcoded on the frontend: VncConsoleModel.java: ... private static final int TICKET_VALIDITY_SECONDS = 120; ...
I would say it would not hurt to have this configurable - could you please open a bug on this?
-- Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

I opened a BZ https://bugzilla.redhat.com/show_bug.cgi?id=1055566 It would also be cool to configure the alphabet which is used to generate the password and to do this via REST-API instead of clicking through some slow GUI.. Thank you so far! I will look into these hooks too. Am 20.01.2014 14:41, schrieb Sven Kieske:
Hi,
the default timeout for the vnc passwords is 2 Minutes. I'd like to reconfigure this.
Is there an engine-config value or is this hardcoded? How can this be changed?
-- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

On 01/20/2014 04:40 PM, Sven Kieske wrote:
I opened a BZ https://bugzilla.redhat.com/show_bug.cgi?id=1055566
It would also be cool to configure the alphabet which is used to generate the password and to do this via REST-API instead of clicking through some slow GUI..
iirc, the REST API supports both setting (or receiving if not setting) the password + setting the timeout. by passing: <ticket> <value>password</value> <expiry>120</expiry> </ticket> https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtua...
Thank you so far! I will look into these hooks too.
Am 20.01.2014 14:41, schrieb Sven Kieske:
Hi,
the default timeout for the vnc passwords is 2 Minutes. I'd like to reconfigure this.
Is there an engine-config value or is this hardcoded? How can this be changed?
participants (4)
-
Itamar Heim
-
Michal Skrivanek
-
Sven Kieske
-
Tomas Jelinek