16 lines
238 B
Bash
Executable File
16 lines
238 B
Bash
Executable File
#!/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
|