
Exam mode don't collect home-directories on localhome clients. Deleting home of exam-users will result in potential data loss. But keeping the home under the same name will prevent new exam at the next day. Solution: Rename home (and /lmn/media/) of user after 12h and delete after 10d.
6 lines
126 B
Desktop File
6 lines
126 B
Desktop File
[Unit]
|
|
Description=Rename/Remove -exam directories older than 12h/10d
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/local/sbin/rmexam
|