A script that allows admins of thunix to make user accounts easily.
Go to file
Blade of Darkness 2e73d2585f only move to once 2020-10-09 00:48:22 +02:00
include Ooops, somehow an extra echo ended up in there 2020-02-04 14:28:58 -05:00
.gitignore Initial commit 2018-09-20 09:54:03 -04:00
LICENSE Initial commit 2018-09-20 09:54:03 -04:00
README.md Updated README 2019-06-28 13:48:54 +00:00
dbremove ADMIN_EMAIL and REPO_LOCATION defined in setenv 2019-12-06 15:32:09 +00:00
gen_tdp One setenv to rule them all! 2019-12-06 13:01:38 +00:00
makedb rename tmpl folder to include, for other contents 2019-12-12 20:05:06 +00:00
makeuser only move to once 2020-10-09 00:48:22 +02:00
makeuser_no_ansible Check that username is not in the banned list 2020-05-26 20:13:08 +02:00
rmuser define remove_user() function before to call it 2020-10-09 00:18:05 +02:00
setenv Check that username is not in the banned list 2020-05-26 20:13:08 +02:00

README.md

makeuser

A script that allows admins of thunix to make user accounts easily.

Forked from tilde.team's makeuser repo.

``makeuser {username} {email} {ssh key}

rmuser

This tool archives the user's home dir, and removes the system account. It is assume that beforehand, the user is un-enforced in ansible.

``rmuser {username}

makedb

Upon request, this tool provisions a database for users on the system MySQL/MariaDB instance.

``makedb {username}

dbremove

Removes user dbs.

``dbremove {username}