7.7. How to Enable and Disable Kiosk Mode

Kiosk mode can be enabled as the default session type for smart card users, non-smart card users, or both. When kiosk mode is enabled for a class of tokens, this choice can be overridden for individual tokens. For example, when kiosk mode is enabled for card users, regular non-kiosk session access can be configured for individual cards. Alternatively, a kiosk session other than the default kiosk session can be configured for individual tokens. Enabling and disabling kiosk mode for individual tokens is described in Section 7.8, “How to Override the Default Kiosk Mode Policy”.

Before enabling kiosk mode, you must configure the kiosk mode.

7.7.1. Admin GUI Steps

Kiosk mode functionality can be enabled and disabled from the System Policy section of the Advanced tab, which provides options to enable kiosk mode for smart card users, non-smart card users, or both.

7.7.2. Command-Line Steps

  1. Become superuser on the Sun Ray server.

  2. Enable a kiosk mode through the utpolicy -k command.

    The following options determine whether access to the Sun Ray server is granted to certain tokens:

    -z both/pseudo/card

    or

    -r both/pseudo/card [-s both/pseudo/card]

    The -k both/pseudo/card option determines whether some or all of the granted sessions are kiosk sessions.

7.7.3. How to Enable Kiosk Mode for All Users (Smart Card and Non-Smart Card)

# /opt/SUNWut/sbin/utpolicy -a -M -s both -r both -k both

All users are directed to kiosk sessions.

7.7.4. How to Allow Only Smart Card Sessions in Kiosk Mode

# /opt/SUNWut/sbin/utpolicy -z card -k card

All sessions are in kiosk mode and available only to smart card users unless you specify overrides.

7.7.5. How to Enable Kiosk Mode for Smart Card Users Only

# /opt/SUNWut/sbin/utpolicy -a -M -s both -r both -k card

Only smart card users are directed to kiosk sessions.

7.7.6. How to Enable Kiosk Mode for Non-Smart Card Users Only

# /opt/SUNWut/sbin/utpolicy -a -s both -r both -k pseudo

Only non-smart card users are directed to kiosk sessions.

7.7.7. How to Enable Regular Sessions for Smart Card Users and Kiosk Sessions for Non-Smart Card Users

# /opt/SUNWut/sbin/utpolicy -z both -k pseudo

Smart card sessions are non-kiosk (ordinary login) sessions. Non-smart card sessions are kiosk sessions.

7.7.8. How to Enable Regular Sessions for Registered Smart Cards and Kiosk Sessions for Non-Smart Card Users

# /opt/SUNWut/sbin/utpolicy -r card -z pseudo -k pseudo

Non-kiosk smart card sessions are allowed only for registered tokens. Non-smart card sessions are kiosk sessions.

7.7.9. How to Enable Kiosk Sessions for Registered Smart Cards and Regular Sessions on Registered Clients

# /opt/SUNWut/sbin/utpolicy -r both -s both -k card

Smart card sessions are kiosk sessions, non-smart card sessions are non-kiosk (ordinary login) sessions. Users can self-register smart card tokens and clients.

7.7.10. How to Allow Only Card Sessions in Kiosk Mode

# /opt/SUNWut/sbin/utpolicy -z card -k card

All sessions are in kiosk mode and available only to smart card users unless you specify overrides.