-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkuser.1
64 lines (64 loc) · 1.53 KB
/
mkuser.1
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
.TH MKUSER 1
.SH NAME
mkuser \- a tool to ease the creation of tilde users
.SH SYNOPSIS
.B mkuser
[\fB\-c\fR \fIconfig\fP]
[\fB\-v\fR]
[\fB\-h\fR]
.IR username
.IR email
.IR sshkey
.SH DESCRIPTION
\fBmkuser\fP creates a user, writes a ssh key to the authorized_keys file for the user, and sends a welcome email.
.SH OPTIONS
.TP
.B \-c
Path to a configuration file, defaults to /etc/mkuser/mkuser.yaml
.TP
.B \-v
Shows the version of mkuser
.TP
.B \-h
Shows the usage information for the command
.SH FILES
\fBmkuser\fP's configuration is held in /etc/mkuser, with all configuration values being held in mkuser.yaml
.SH SETTINGS
The following is a list of settings that \fBmkuser\fP recognizes in the mkuser.yaml file.
.TP
.B
site_name
The name of the site to use in the welcome email
.TP
.B
site_url
The URL for the site, this will be used to generate the public_html location in the welcome email, for example: https://example.com.
.TP
.B
site_contact
A contact email address to be provided in the welcome email.
.TP
.B
mail_template
The location of the template to use for the welcome email, defaults to: /etc/mkuser/mail.tmpl.
.TP
.B
mail_subject
The subject to use for the welcome email.
.TP
.B
mail_from
The from address to use on the welcome email.
.TP
.B
mail_sig
The signature signoff to use on the welcome email.
.SH BUGS
Bugs will exist with this tool, issues can be raised on the \fBmkuser\fP repository on Github (see \fIlinks\fP).
.SH LINKS
.TP
.B
Source Repository
http://github.com/dimension-sh/mkuser
.SH AUTHORS
\fBmkuser\fP was developed by nikdoof.