cruxports/greetd/post-install
2022-02-05 15:39:19 -05:00

6 lines
184 B
Bash

#!/bin/sh
getent group greeter || /usr/sbin/groupadd greeter
getent passwd greeter || /usr/sbin/useradd -M -g greeter -G video,tty -c "greetd user" greeter
/usr/bin/passwd -l greeter