You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lxqt-admin-packaging/lxqt-admin-user/lxqt-admin-user-helper.freebsd

16 lines
238 B

#!/bin/sh
case "$1" in
useradd|usermod|userdel|groupadd|groupmod|groupdel)
export LC_ALL=C
exec "pw" "${@}"
;;
passwd)
export LC_ALL=C
exec "$@"
;;
*)
echo "Command '$1' is not allowed!"
exit 1
;;
esac