Sven Friedmann schrieb:

is there any opportunity to assign a UID by TokenID in Kiosk Mode?
A pseudo.tokenid should always log in as further specified UID.

This is not possible at the moment.

sounds not so good.

It may be possible to trick the system into doing that, but any such attempt would have to rely on undocumented internals. (And there are some technical risks.)


are there any pam_kiosk.so secrets to build a nifty wrapper?


One possible secret are files in /var/run/opt/SUNWkio/users/. If a pair of *.dpy and *.session files correctly cross-reference each other, they indicate that that kiosk user is allocated to the session on that display. If a new kiosk session is started on the same display, that allocation will be reused. It might be possible to create these files in the Xsetup (dlogin) or Init (gdm) script (of course you'd have to do the token->user name mapping yourself).

Beware though:
- This is not a documented interface and may be broken by a kiosk patch.
- This is not supported. If anything goes wrong, don't blame us.
- If you're not very careful (e.g. if you connect a DTU that you don't map to a kiosk user account) you might end up with multiple kiosk instances using the same user account or a new session killing an existing one.

- Joerg

--
Joerg Barfurth
Software Engineer        mailto:[EMAIL PROTECTED]
Desktop Technology
Thin Client Software     http://www.sun.com/software/sunray/
Sun Microsystems GmbH    http://www.sun.com/software/javadesktopsystem/

Sitz der Gesellschaft:
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to