16 lines
238 B
Plaintext
16 lines
238 B
Plaintext
|
#!/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
|