server: Add history

This commit is contained in:
nemunaire 2023-02-25 15:09:12 +01:00
parent 50ad1f0712
commit 997d7f475a

View File

@ -154,7 +154,7 @@ services:
net: /run/netns/dmzi-wg net: /run/netns/dmzi-wg
- name: login-validator - name: login-validator
image: nemunaire/adlin-login-validator:923d04a3c3c744f4a60c882f0264ffff88b7a9f6 image: nemunaire/adlin-login-validator:7b6560b8ebf5d726ac1f2740621075dfb59b5e58
# command: ["/bin/login-validator", "-bind=:8081", "-auth=ldap", "-ldaphost=auth.cri.epita.net", "-ldapport=636", "-ldaptls", "-ldapbase=dc=epita,dc=net"] # command: ["/bin/login-validator", "-bind=:8081", "-auth=ldap", "-ldaphost=auth.cri.epita.net", "-ldapport=636", "-ldaptls", "-ldapbase=dc=epita,dc=net"]
command: ["/bin/login-validator", "-bind=:8081", "-auth=krb5", "-krb5realm=CRI.EPITA.FR"] command: ["/bin/login-validator", "-bind=:8081", "-auth=krb5", "-krb5realm=CRI.EPITA.FR"]
# command: ["/bin/login-validator", "-bind=:8081", "-auth=fwd", "-fwduri=https://adlin.nemunai.re/auth"] # command: ["/bin/login-validator", "-bind=:8081", "-auth=fwd", "-fwduri=https://adlin.nemunai.re/auth"]
@ -944,6 +944,15 @@ files:
source: challenge-initrd.img source: challenge-initrd.img
mode: "0644" mode: "0644"
- path: root/.ash_history
contents: |
tail -f /var/log/login-validator.log
ln -sf nemunaire.csv /var/lib/adlin/students/students.csv
ln -sf students2025.csv students.csv
pkill -HUP login-validator
cd /var/lib/adlin
mode: "0640"
trust: trust:
org: org:
- linuxkit - linuxkit