1 | .TH ADDUSR 1 "March 2011" "Debathena" debathena-moira-clients |
---|
2 | .SH NAME |
---|
3 | addusr \- bulk-register new users in Moira |
---|
4 | .SH SYNOPSIS |
---|
5 | .B addusr [options] |
---|
6 | .SH DESCRIPTION |
---|
7 | .I addusr |
---|
8 | is a tool for registering large numbers of users in Moira, pulling |
---|
9 | data from a file. |
---|
10 | .SH OPTIONS |
---|
11 | .IP \fB-file\ \fRor\ \fB-f\fR |
---|
12 | Comma-separated file to use (default: STDIN) |
---|
13 | .IP \fB-class\ \fIclass\ \fRor\ \fB-c\ \fIclass\fR |
---|
14 | Class to assign users (default: TEMP) |
---|
15 | .IP \fB-comment\ \fIcomment\ \fRor\ \fB-C\ \fIcomment\fR |
---|
16 | Set the comment for the users to \fIcomment\fR. |
---|
17 | .IP \fB-status\ \fIstatus\ \fRor\ \fB-S\ \fIstatus\fR |
---|
18 | Set the status field for the users to \fIstatus\fR. (Default: 0) |
---|
19 | .IP \fB-shell\ \fIshell\ \fRor\ \fB-s\ \fIshell\fR |
---|
20 | Set the shell for the users to \fIshell\fR. (Default: /bin/bash) |
---|
21 | .IP \fB-winshell\ \fIwinshell\ \fRor\ \fB-w\ \fIwinshell\fR |
---|
22 | Set the Windows shell for the users to \fIwinshell\fR. (Default: cmd) |
---|
23 | .IP \fB-sponsor\ \fIsponsor\ \fRor\ \fB-sp\ \fIsponsor\fR |
---|
24 | Set the sponsor of the users to \fIsponsor\fR. (Default: NONE) |
---|
25 | .IP \fB-expiration\ \fIdate\ \fRor\ \fB-e\ \fIdate\fR |
---|
26 | Set the expiration date for the users to \fIdate\fR. (Default: "") |
---|
27 | .IP \fB-reg_only\ \fRor\ \fB-r\fR |
---|
28 | Bulk-register users who are already in Moira. |
---|
29 | .IP \fB-register\ \fRor\ \fB-R\fR |
---|
30 | Register users and add to database. |
---|
31 | .IP \fB-verbose\ \fRor\ \fB-v\fR |
---|
32 | Be verbose. |
---|
33 | .IP \fB-nodupcheck\ \fRor\ \fB-d\fR |
---|
34 | Don't check for duplicate names. |
---|
35 | .IP \fB-nocaps\ \fRor\ \fB-n\fR |
---|
36 | Don't fix capitalization of names. |
---|
37 | .IP \fB-database\ \fIhost:port\ \fRor\ \fB-db\ \fIhost:port\fR |
---|
38 | Use the specified host and port to contact the Moira database instead of |
---|
39 | the default server. Both may be symbolic names or numbers. If the |
---|
40 | port is left off, the default Moira server port will be assumed. |
---|
41 | |
---|
42 | .SH AUTHORS |
---|
43 | Garry Zacheiss, MIT Information Systems. |
---|
44 | |
---|
45 | Manual page by Jonathan Reed, MIT IS&T. |
---|
46 | .SH SEE ALSO |
---|
47 | moira(1) |
---|
48 | |
---|
49 | |
---|