blob: 762e0bb7afe4a274669ad1811d39c67dd3e0682e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#
# Check can login with two factor
#
#?RUNNER DAEMON-START
# X server starts
#?XSERVER-0 START
#?XSERVER-0 INDICATE-READY
# LightDM connects to X server
#?XSERVER-0 ACCEPT-CONNECT
# Greeter starts
#?GREETER-X-0 START
#?XSERVER-0 ACCEPT-CONNECT
#?GREETER-X-0 CONNECT-XSERVER
#?GREETER-X-0 CONNECT-TO-DAEMON
#?GREETER-X-0 CONNECTED-TO-DAEMON
# Log into account with a password
#?*GREETER-X-0 AUTHENTICATE USERNAME=two-factor
#?GREETER-X-0 SHOW-PROMPT TEXT="Password:"
#?*GREETER-X-0 RESPOND TEXT="password"
#?GREETER-X-0 SHOW-PROMPT TEXT="OTP:"
#?*GREETER-X-0 RESPOND TEXT="otp"
#?GREETER-X-0 AUTHENTICATION-COMPLETE USERNAME=two-factor AUTHENTICATED=TRUE
# Cleanup
#?*STOP-DAEMON
#?GREETER-X-0 TERMINATE SIGNAL=15
#?XSERVER-0 TERMINATE SIGNAL=15
#?RUNNER DAEMON-EXIT STATUS=0
|