* Fixed buffer overrun problems in cmd_rchg(), cmd_hchg(), and cmd_uchg()
[citadel.git] / citadel / sysop.txt
1                         Citadel/UX Sysop/Aide Manual
2                  See copyright.doc for copyright information
3   
4    
5  OVERVIEW
6  
7    Citadel/UX, when installed properly, will do most of its maintenance by
8 itself. The message file loops upon itself forever, scrolling off old messages
9 to make space for new ones. The room files work in the same way. Other types
10 of maintenance can be done by cron. I have left my system unattended for long
11 periods of time without any software failures. 
12    
13   The system has seven access levels. Most users are at the bottom and have no
14 special privileges. Aides are selected people who have special access within
15 the Citadel program. Room Aides only have this access in a certain room. 
16 Preferred users can be selected by Aides for access to preferred only rooms. A
17 sysop is anyone who has access to the various sysop utilities - these are in
18 their own executable files, which should have their permissions set to allow
19 only sysops to run them. I recommend either creating a sysops group in
20 /etc/group, or using some other existing group for this purpose. 
21    
22    Aides have access to EVERY room on the system, public and private (all
23 types). They also have access to commands starting with .<A>ide in addition
24 to being able to delete and move messages. The system room, Aide>, is
25 accessible only by those designated by aides.
26    
27    
28  AIDE COMMANDS
29  
30    Aides have the following commands available to them that are not available
31 to normal users. They are:
32   
33  .<A>ide <E>dit room         Allows an aide to change certain parameters of
34                              the current room. Lobby>, Mail>, and Aide> may
35                              not be edited.
36  .<A>ide <F>ile <D>elete     If the current room has a directory, an Aide or
37                              room Aide can delete files from the directory
38                              using this command.
39  .<A>ide <F>ile <M>ove       Moves a file from the directory of the current
40                              room to the directory of another room.  If there
41                              is a file description attached, it is moved also.
42  .<A>ide <F>ile <S>end...    This will send a copy of a file in the current
43                              room's directory to the directory of the same
44                              room on another system on the network.  The other
45                              system must be running Citadel/UX or another
46                              program supporting IGnet/Open file transfers.
47  .<A>ide edit <I>nfo file    Creates an info file for the current room, which
48                              will be displayed to the user when any of three
49                              conditions exist: the first time the user enters
50                              the room, the next time the user enters the room
51                              after the file has been changed, and when the
52                              .<R>ead <I>nfo file command is entered.
53  .<A>ide <K>ill room         Deletes the current room. Lobby>, Mail>, and
54                              Aide> may not be deleted.
55  .<A>ide <R>oom <I>nvite     Invites a user to the room if it is private.
56  .<A>ide <R>oom <K>ickOut    Kicks a user out of the room if it is private.
57  .<A>ide <S>ystem config     Edits global system configuration.
58  .<A>ide <U>serEdit          Edits certain parameters of a user's account.
59  .<A>ide <V>alidate newusers Lists users who have recently registered and
60                              prompts for new access levels.
61  .<A>ide <W>hoKnowsRoom      Lists all users who have access to, and who have
62                              not chosen to zap, the current room.
63    
64    
65    EDITING ROOMS
66    
67    This command allows any aide to change the parameters of a room.  Go to
68 the room you wish to edit and enter the .AE command.  A series of prompts will
69 be displayed.  The existing parameters will be displayed in brackets; simply
70 press return if you want to leave any or all of them unchanged.
71  
72 Room name [IG's Fun Room]:
73  
74    ...the name of the room.
75
76 Private room [Yes]? 
77  
78    ...enter Yes if you wish to restrict access to the room, or no if the room
79 is to be accessible by all users.  Note that Citadel doesn't bother users
80 about access to rooms every time they need to access the room.  Once a user
81 gains access to a private room, it then behaves like a public room to them.
82 The following four questions will only be asked if you selected Private...
83
84 Accessible by guessing room name [No]?
85  
86    ...if you enter Yes, the room will not show up in users' <K>nown rooms
87 listing, but if they .<G>oto the room (typing the room's full name), they
88 will gain access to the room.
89
90 Accessible by entering a password [No]?
91 Room password [mypasswd]:  
92  
93    ...this adds an additional layer of security to the room, prompting users
94 for a password before they can gain access to the room.
95  
96 If you did not select guessname or passworded, then the only way users can
97 access the room is if an Aide explicitly invites them to the room using the
98 .<A>ide <R>oom <I>nvite user command.
99
100 Cause current users to forget room [No] ? No
101  
102    Enter Yes if you wish to kick out anyone who currently has access to
103 the room.
104  
105 Preferred users only [No]? No
106  
107    Enter Yes if you wish to restrict the room to only users who have level 5
108 (Preferred User) status (and Aides too, of course).  You should make the room
109 public if you intend to do this, otherwise the two restrictions will be
110 COMBINED.
111  
112 Read-only room [No]? No
113  
114    If you set a room to Read-Only, then normal users will not be allowed to
115 post messages in it.  Messages may only be posted by Aides, and by utility
116 programs such as the networker and the "aidepost" utility.  This is useful
117 in situations where a room is used exclusively for important announcements,
118 or if you've set up a room to receive an Internet mailing list and posting
119 wouldn't make sense.  Other uses will, of course, become apparent as the
120 need arises.
121
122 Now for a few other attributes...
123
124 Directory room [Yes]? Yes
125  
126    ...enter Yes if you wish to associate a directory with this room.  If you
127 enter Yes, you will also be prompted with the following four questions:
128
129 Directory name [mydirname]: 
130  
131    ...the name of the subdirectory to put this room's files in.  The name of
132 the directory created will be <your BBS directory>/files/<room dir name>.
133     
134 Uploading allowed [Yes]? Yes
135  
136    ...enter Yes if users are allowed to upload to this room.
137
138 Downloading allowed [Yes]? Yes
139   
140    ...enter Yes if users are allowed to download from this room.
141
142 Visible directory [Yes]? Yes
143   
144    ...enter Yes if users can read the directory of this room.
145
146
147 Network shared room [No]? No
148   
149    ...you can share a room over a network without setting this flag, and
150 vice versa, but what this flag does is twofold:
151    1. It prevents people with no network access from entering messages here
152    2. Messages are displayed with the name of their originating system in
153       the header.
154
155 Permanent room [No]? No
156  
157    ...the sysop utilities have an option to purge rooms which have not been posted
158 in for two weeks.  If you wish to keep this from happening to a particular room, you
159 can set this option.  (Keep in mind that Lobby>, Mail>, Aide>, any network rooms, and
160 any directory rooms are automatically permanent.)
161
162
163 Anonymous messages [No]? No
164 Ask users whether to make messages anonymous [No]? No
165   
166    ...you can have rooms in which all messages are automatically anonymous,
167 and you can have rooms in which users are prompted whether to make a message
168 anonymous when they enter it.
169
170 Room aide [Joe Responsible]: 
171  
172    ...on larger systems, it helps to designate a person to be responsible for
173 a room.  Room Aides have access to a restricted set of Aide commands, ONLY
174 when they are in the room in which they have this privilege.  They can edit
175 the room, delete the room, delete and move messages, and invite or kick out
176 users (if it is a private room), but they cannot perform aide commands that
177 are not room-related (such as changing users access levels).
178
179 Save changes (y/n)? Yes
180   
181     ...this gives you an opportunity to back out, if you feel you really
182 messed things up while editing.
183
184  
185    FILE DIRECTORIES 
186  
187  If you have created any directory rooms, you can attach file descriptions to
188 the filenames through a special file called "filedir".  Each line contains
189 the name of a file in the directory, followed by a space and then a description
190 of the file, such as:
191  
192  myfile.txt This is a description of my file.
193  phluff A phile phull of phluff!
194  
195  ...this would create file descriptions for the files 'myfile.txt' and 'phluff'
196 which would be displayed along with the directory.  It should also be noted
197 that when users upload files to your system, they will be prompted for file
198 descriptions, which will be added to the 'filedir' file.  If one does not
199 exist, it will be created.
200  
201  
202    EDITING USERS
203  
204    This command allows any aide to change certain parameters of any user's
205 account. Entering this command will ask for the name of a user to edit, and
206 then prompt with the user's current access level, then ask for the new one.
207   0 - Marked for deletion
208   1 - New unvalidated user
209   2 - Problem user
210   3 - User with no network privileges
211   4 - Normal user
212   5 - Preferred user
213   6 - Aide
214    
215    DELETING AND MOVING MESSAGES
216    
217    Aides have the ability to delete and move messages; however, they must have
218 message prompting turned on in order to do this. After each message, the
219 normal prompt appears:
220    <A>gain, <N>ext message, <S>top ->
221   Entering <D> will delete the message. A (y/n) prompt will appear to confirm
222 that you really want to delete the message.
223   Entering <M> will prompt for a room to move the message to.
224      
225    
226    SYSOP UTILITIES
227    
228    There are a number of utilities which may be accessed from the shell. It
229 is up to the system operator to decide which should be "sysop" utilities and
230 which should be accessible to all shell users. Please see utils.doc for a
231 description of these programs.
232     
233    
234    CUSTOMIZING THE HELP FILES
235  
236    The subdirectory called "help" contains your system's help files.  There's
237 nothing hard-coded into the system that dictates what files should be there.
238 Whenever a user types the command "<.H>elp" followed by the name of a help
239 file, it displays the contents of that help file.
240  
241    The help files that come with the system, of course, are enough to guide
242 a user through its operation.  But you can add, change, or remove help files
243 to suit whatever is appropriate for your system. 
244  
245    Now for the fun part.  There are several strings that you can put in help
246 files that will be automatically substituted with other strings.  They are:
247  
248  ^nodename    = The node name of your system on a Citadel/UX network
249  ^humannode   = Human-readable node name (also your node name on C86Net)
250  ^fqdn        = Your system's fully-qualified domain name
251  ^username    = The name of the user reading the help file
252  ^usernum     = The user number of the user reading the help file
253  ^sysadm      = The name of the system administraor (i.e., you)
254  ^variantname = The name of the BBS software you're running
255  
256    So, for example, you could create a help file which looked like:
257  
258   "Lots of help, of course, is available right here on ^humannode.  Of
259 course, if you still have trouble, you could always bug ^sysadm about it!"
260    
261         
262    CONCLUSION
263    
264  For more information, visit the Citadel/UX web site at UNCENSORED! BBS
265  http://uncnsrd.mt-kisco.ny.us
266