blob: da8be820433032bc515c48d88bc1ceb88ac193b7 (
plain)
1 #!/bin/sh
2
3 # check for lirc group or add one
4 getent group lirc || /usr/sbin/groupadd -g 112 lirc
5
6 # check for lirc user or add one
7 getent passwd lirc || /usr/sbin/useradd -g lirc -u 112 -d /var/empty -s /bin/false -c "LIRC User" lirc
8
9 # lock the account
10 /usr/bin/passwd -l lirc
|