/usr/sbin/maas-region-admin is in maas-region-controller-min 1.5+bzr2252-0ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | #!/bin/sh
if [ "$(id -u)" != "0" ]; then
echo "This utility may only be run as root." 1>&2
exit 1
fi
export PYTHONPATH="/usr/share/maas${PYTHONPATH:+:}${PYTHONPATH}"
export DJANGO_SETTINGS_MODULE="maas.settings"
exec /usr/bin/django-admin "$@"
|