]>
Commit | Line | Data |
---|---|---|
b62300ef | 1 | .TH BLANCHE 1 "14 Sep 1988" "Project Athena" |
e6386401 | 2 | \" RCSID: $Header$ |
3 | .SH NAME | |
150c46e2 | 4 | blanche \- examine and modify memberships in Moira lists |
e6386401 | 5 | .SH SYNOPSIS |
b62300ef | 6 | .B blanche [options] listname [options] |
e6386401 | 7 | .SH DESCRIPTION |
b62300ef | 8 | .I Blanche |
150c46e2 | 9 | is a tool for maintaining the membership of Moira lists. It is more |
e6386401 | 10 | limited than the menu-oriented listmaint, but has a more traditional |
11 | unix user interface which makes it easier to use in scripts. It can | |
12 | also read a set of list members from a file and synchronize the list | |
150c46e2 | 13 | in Moira to that file. |
e6386401 | 14 | |
15 | Whenever a member is specified, it may be specified explicitly, as | |
10e0278f | 16 | user:username, list:listname, string:string_text, or |
17 | kerberos:principal_name; or the type may | |
e6386401 | 18 | be left off if the member name is non ambiguous. A member having |
19 | punctuation characters (such as at-sign) in it is immediately assumed | |
20 | to be a string. Otherwise, | |
b62300ef | 21 | .B blanche |
e6386401 | 22 | will try first as a user, and if that fails will try the member as a |
23 | list, and finally fall back to string if both of those fail. | |
24 | ||
25 | The default output mode is similar, in that usernames are displayed | |
26 | without any identifying type, lists are always displayed as | |
27 | list:listname, and strings will only be labeled as a string if they do | |
10e0278f | 28 | not have any punctuation characters in them. Kerberos members will |
29 | always have the type displayed. | |
e6386401 | 30 | .SH OPTIONS |
31 | .IP \fB-add\ \fImember\ \fRor\ \fB-a\ \fImember\fR: | |
32 | This will add the specified member to the target list. This option | |
33 | may be specified multiple times with different members on the same | |
34 | command line. | |
35 | .IP \fB-delete\ \fImember\ \fRor\ \fB-d\ \fImember\fR: | |
36 | This will delete the specified member from the target list. This | |
37 | option may be specified multiple times with different members on the | |
38 | same command line. | |
39 | .IP \fB-file\ \fIfilename\ \fRor\ \fB-f\ \fIfilename\fR: | |
40 | This will read a list of members from the named file, and make those | |
41 | members be the membership of the target list. It will do this by | |
150c46e2 | 42 | extracting the current membership of the target list from Moira, then |
e6386401 | 43 | diff these two sets of members, and determine who has to be added and |
44 | deleted from the list so it will match the contents of the file. | |
45 | ||
46 | The file contains one member per line. It may have blank lines. | |
47 | Anything following a semicolon is considered a comment. If the | |
48 | .I filename | |
49 | is "-", | |
b62300ef | 50 | .B blanche |
e6386401 | 51 | will read from standard input. |
52 | .IP \fB-info\ \fRor\ \fB-i\fR: | |
53 | Display other information about the target list besides the | |
54 | membership. This includes the description, flags, maillist and group | |
55 | status, owner, and last modification. | |
56 | .IP \fB-members\ \fRor\ \fB-m\fR: | |
57 | Display the membership of the target list. This is the default if no | |
58 | other options are specified. | |
faa2afac | 59 | .IP \fB-users\ \fRor\ \fB-u\fR: |
60 | Only display list members that are users (not lists or strings). If | |
10e0278f | 61 | none of \fB-users, -lists, -strings, \fRor \fB-kerberos\fR is specified, then all |
faa2afac | 62 | of them will be displayed. |
63 | .IP \fB-lists\ \fRor\ \fB-l\fR: | |
64 | Only display list members that are lists (not users or strings). If | |
10e0278f | 65 | none of \fB-users, -lists, -strings, \fRor \fB-kerberos\fR is specified, then all |
faa2afac | 66 | of them will be displayed. |
67 | .IP \fB-strings\ \fRor\ \fB-s\fR: | |
68 | Only display list members that are strings (not users or lists). If | |
10e0278f | 69 | none of \fB-users, -lists, -strings, \fRor \fB-kerberos\fR is specified, then all |
faa2afac | 70 | of them will be displayed. |
10e0278f | 71 | .IP \fB-kerberos\ \fRor\ \fB-k\fR: |
72 | Only display list members that are kerberos principals (not users, | |
73 | lists, or strings). If | |
74 | none of \fB-users, -lists, -strings, \fRor \fB-kerberos\fR is | |
75 | specified, then all of them will be displayed. | |
e6386401 | 76 | .IP \fB-recursive\ \fRor\ \fB-r\fR: |
77 | When displaying the membership of the target list, recursively track | |
f1647f51 | 78 | down all lists that are members of the target, and get their |
e6386401 | 79 | membership. Only the user and string members will be displayed, not |
80 | the intermediate lists. | |
81 | .IP \fB-verbose\ \fRor\ \fB-v\fR: | |
82 | Give more information. With the info flag, it will also display the | |
83 | number of members on the list. With the members flag, it will display | |
84 | the type of each member, not just those that are ambiguous. When | |
85 | changing the membership of a list, it will print a message for each | |
86 | member added or deleted. | |
faa2afac | 87 | .IP \fB-noauth\ \fRor\ \fB-n\fR: |
150c46e2 | 88 | Do not attempt to perform Kerberos authentication with the Moira server. |
faa2afac | 89 | Retrieval operations on not-hidden lists are still possible without |
90 | tickets. | |
10e0278f | 91 | .IP \fB-server\ \fIhost:port\ \fRor\ \fB-S\ \fIhost:port\fR: |
92 | Use the specified host and port to contact the Moira server instead of | |
150c46e2 | 93 | the default server. Both may be symbolic names or numbers. If the |
94 | port is left off, the default Moira server port will be assumed. The | |
95 | server chosen will be the one specified on the command line, specified | |
96 | in the MOIRASERVER environment variable, the hesiod "moira" sloc entry, | |
97 | or the compiled in default, in that order or preference. | |
e6386401 | 98 | .IP \fB-debug\ \fRor\ \fB-D\fR: |
99 | Turn on debugging messages. | |
100 | ||
101 | .SH AUTHORS | |
102 | Mark Rosenstein and Jay Berkenbilt. | |
103 | .SH SEE ALSO | |
104 | listmaint(1) |