mirror of
https://github.com/ThunixdotNet/wiki.git
synced 2026-01-24 12:20:19 +00:00
Helps to add files
This commit is contained in:
19
articles/wiki/admintools.md
Normal file
19
articles/wiki/admintools.md
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# Admin tools
|
||||||
|
|
||||||
|
There's a set of tools to ease system administration. These tools can be found in the poorly named repo [makeuser](https://tildegit.org/thunix/makeuser).
|
||||||
|
|
||||||
|
- makeuser: adds a user to our system
|
||||||
|
|
||||||
|
```makeuser {username} {email address} {ssh key}```
|
||||||
|
|
||||||
|
- rmuser: Removes user account, terminates processes, archives home directory
|
||||||
|
|
||||||
|
```rmuser {username}```
|
||||||
|
|
||||||
|
- makedb: Creates a db for a user, and emails the credentials and connection info to their thunix email address.
|
||||||
|
|
||||||
|
```makedb {username}```
|
||||||
|
|
||||||
|
- dbremove : Removes a db created by a user, after generating an mysqldump of it
|
||||||
|
|
||||||
|
```dbremove {username}```
|
||||||
Reference in New Issue
Block a user