diff options
author | ahriman <ahriman@falte.red> | 2019-04-24 23:38:33 +0000 |
---|---|---|
committer | ahriman <ahriman@falte.red> | 2019-04-24 23:38:33 +0000 |
commit | ed6c29e020ce1359c284ad0939594f9922bced93 (patch) | |
tree | 53ea896de6385b08d4b6cdd7dc5502897619de8e /bin | |
parent | 69a51002445a0637a9186f98a46af04b5a22e0cb (diff) | |
download | admin-ed6c29e020ce1359c284ad0939594f9922bced93.tar.gz |
generating user list for sign-up form to submit against
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/makeuser | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/makeuser b/bin/makeuser index a0b6ff8..0081bbf 100755 --- a/bin/makeuser +++ b/bin/makeuser @@ -83,5 +83,6 @@ case $1 in # announce the new user's creation on mastodon # then copy their ssh key to their home directory /admin/bin/toot.py "Welcome new user ~$1!" + </etc/passwd cut -d ":" -f1 > /var/www/htdocs/userlist echo "$3" | tee /home/$1/.ssh/authorized_keys esac |