diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2012-03-20 16:11:28 +1100 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2012-03-20 16:11:28 +1100 |
commit | 89a42458fad356f36742b09e04be686092e698dd (patch) | |
tree | 5d05625c6ae79784ce51bab9b2d553ef599e0c60 /tests/scripts/group-membership.conf | |
parent | f8841d64f28da418060092a8e181e0693906b23e (diff) | |
download | lightdm-89a42458fad356f36742b09e04be686092e698dd.tar.gz |
Call initgroups before pam_setcred - this allows pam_setcred to change group membership correctly
Diffstat (limited to 'tests/scripts/group-membership.conf')
-rw-r--r-- | tests/scripts/group-membership.conf | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/scripts/group-membership.conf b/tests/scripts/group-membership.conf new file mode 100644 index 00000000..70f5afd3 --- /dev/null +++ b/tests/scripts/group-membership.conf @@ -0,0 +1,34 @@ +# +# Check group membership is correctly set up +# + +[LightDM] +minimum-display-number=50 + +[SeatDefaults] +autologin-user=group-member + +#?RUNNER DAEMON-START + +# X server starts +#?XSERVER :50 START +#?XSERVER :50 INDICATE-READY + +# LightDM connects to X server +#?XSERVER :50 ACCEPT-CONNECT + +# Session starts +#?SESSION :50 START USER=group-member +#?XSERVER :50 ACCEPT-CONNECT +#?SESSION :50 CONNECT-XSERVER + +# Check we belong to the group for our user and the special group set by PAM +#?*SESSION :50 LIST-GROUPS +#?SESSION :50 LIST-GROUPS GROUPS=group-member,test-group + +# Cleanup +#?*STOP-DAEMON +# Don't know what order they will terminate +#?(SESSION :50 TERMINATE SIGNAL=15|XSERVER :50 TERMINATE SIGNAL=15) +#?(SESSION :50 TERMINATE SIGNAL=15|XSERVER :50 TERMINATE SIGNAL=15) +#?RUNNER DAEMON-EXIT STATUS=0 |