]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - tests/scripts/autologin-pam.conf
When switching to an existing session refresh PAM credentials and end session cleanly...
[sojka/lightdm.git] / tests / scripts / autologin-pam.conf
1 #
2 # Check we correctly use PAM for automatic login
3 #
4
5 [SeatDefaults]
6 autologin-user=no-password1
7 user-session=default
8
9 [test-pam]
10 log-events=true
11
12 #?*START-DAEMON
13 #?RUNNER DAEMON-START
14
15 # X server starts
16 #?XSERVER-0 START VT=7 SEAT=seat0
17
18 # Daemon connects when X server is ready
19 #?*XSERVER-0 INDICATE-READY
20 #?XSERVER-0 INDICATE-READY
21 #?XSERVER-0 ACCEPT-CONNECT
22
23 # Session authenticates
24 #?PAM-no-password1 START SERVICE=lightdm-autologin USER=no-password1
25 #?PAM-no-password1 AUTHENTICATE
26 #?PAM-no-password1 ACCT-MGMT
27 #?PAM-no-password1 SETCRED ESTABLISH_CRED
28 #?PAM-no-password1 OPEN-SESSION
29
30 # Session starts
31 #?SESSION-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 XDG_GREETER_DATA_DIR=.*/no-password1 XDG_SESSION_TYPE=x11 XDG_SESSION_DESKTOP=default USER=no-password1
32 #?LOGIN1 ACTIVATE-SESSION SESSION=c0
33 #?XSERVER-0 ACCEPT-CONNECT
34 #?SESSION-X-0 CONNECT-XSERVER
35
36 # Cleanup
37 #?*STOP-DAEMON
38 #?SESSION-X-0 TERMINATE SIGNAL=15
39 #?PAM-no-password1 CLOSE-SESSION
40 #?PAM-no-password1 SETCRED DELETE_CRED
41 #?PAM-no-password1 END
42 #?XSERVER-0 TERMINATE SIGNAL=15
43 #?RUNNER DAEMON-EXIT STATUS=0