source: trunk/debathena/config/reactivate/debian/Xsession.debathena @ 24057

Revision 24057, 385 bytes checked in by broder, 15 years ago (diff)
In cluster-login-config: * Unset the root password if the machine is a quickstation. In reactivate: * Don't put the user in a login snapshot on a quickstation.
  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3if [ "$(machtype -q)" != "quickstation" ]; then
4    # We wrap the Xsession in sudo because it runs initgroups(3)
5    # /after/ being chrooted, which puts users back in the groups we
6    # added them to in athena-login-snapshot
7    exec schroot -c login -p -- sudo -E -u "$USER" -- /etc/gdm/Xsession.debathena-orig "$@"
8else
9    exec /etc/gdm/Xsession.debathena-orig "$@"
10fi
Note: See TracBrowser for help on using the repository browser.