/usr/bin/uoa-create is in account-plugin-tools 0.12+16.04.20160126-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 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #!/bin/bash
usage ()
{
echo "usage: $0 [service] [username]"
exit 1
}
if [ $# -ne 2 ];
then
usage
fi
service=$1
username=$2
ID="$(account-console create $service --print-id)"
account-console edit "$ID" --username $username
echo "Logging in to" $service
account-console login "${ID}" --service $service-microblog
echo "Enabling account"
account-console edit "${ID}" --enable --service $service-microblog
|