The information in Sections 7.1 through 7.4 provides additional information for system administrators wishing to install and run the AUC engine.
Note: This information applies to AUC 0.5, and does not apply to the latest available version. Follow the INSTALL file for installation instructions with new versions.
AUC has been tested on both Linux 2.2.x and IRIX 6.5. If you achieve success on additional platforms, please email the developers with any necessary changes to the source. Thanks!
Before installing, you must have MySQL C and Perl client libraries already installed on your system. Also, if your system uses PAM, AUC will automatically support it, assuming the proper client libraries are installed.
MySQL can be obtained from http://www.mysql.org
First, gunzip and untar the auc-0.5.1.tar.gz tarball.
Second, you must compile the IMAP c-client which is required by the mail reading subsystem of AUC:
Next, return to the AUC distribution directory to compile AUC itself. The default configure script makes some assumptions about the directory structure of your web server. Type './configure --help' and look at the last few options, to make sure everything is going to get installed to reasonable locations. If you need to adjust a directory, add the necessary options when you run ./configure below.
After the installation, you need to perform several steps before auc can be used.
Note: This section of the documentation should be read after AUC has first been installed.
Any AUC installation should have at least one administrator. This person is responsible for creating/maintaining user accounts and making sure the classroom database is up to date. In addition, they should generally oversee the maintenance of the AUC server. At schools, this person could be anyone from a computer network administrator to a volunteer staff member. Some schools appoint a responsible student to be in charge of the AUC server.
If you were successful in following the installation instructions, you should have logged in as a user with the same username and password as the user you created in the MySQL database. Assuming the login worked, you will see two "panes" in the resulting "Start Page." One of these panes allows the creation/maintenance of interactive classrooms and the other pane allows the creation/maintenance of user accounts. The first thing you should do is to create a user account for yourself. Make sure you give yourself "sysop" access priveledges when you create the account. If you make your username the same as your UNIX shell account's username, and you have PAM installed, you will then be able to log off and log back on with your username and password from your UNIX account. If this is not possible, read the section below about assigning passwords to user accounts.
Depending on the size of your site, you may never more than one administrator to keep up with the needs of the server. If at any time you wish to "promote" an existing user to have administrative functions, simply change their access priveledges to "sysop" by editing the user info from the "Account Manager."
Remember that users with "sysop" access rights have the ability to modify any information on the server, including the contents of interactive classrooms, and any databases. Do not give "sysop" priveledges unless you trust that particular user.
The most important part of any AUC installation is the users. After all, the whole point of AUC is for the users to create the content. Even if you are not experienced with administering a web site or server, administering AUC is a piece of cake. AUC uses a web-based interface for nearly all user management functions, allowing administration locally or remotely, and making changes quick and easy for even an inexperienced administrator.
AUC users can be created from any account with "sysop" access (more on access priveledges later). You know you have sysop access when you can see the blue pane at the bottom of your start page labeled "Account Administration". Congratulations! You are an administrator now. To add a new account, first click the "Add Account Entry" link.
You will now see a page labeled "Add New User Entry". This is where you will specify the information on a new user. If you are unsure about any of the fields on this form, here is a description of each:
When you are done entering this information, click the "Add Entry" button to create your new user. They will be able to log in after you give them a password (see section 2).
Assigning a password to a user on AUC is different than you might expect, but as you will see, turns out to be an extremely flexible and extendable method. Before giving passwords to your users, you must choose between two basic methods of authentication:
You must choose between one of these two methods in order to allow users access to AUC. After you decide, your choosen method can be implemented as follows.
You should be comfortable with UNIX administration and familiar with PAM in order to implement this method successfully. Normally, the only necessary step to implement PAM-based authentication is to add AUC to your PAM configuration. To update your PAM configuration, add a file called "auc" to your PAM config directory (usually in /etc/pam.d/). A sample "auc" file is included in the conf/ directory of the AUC distribution. It can be adjusted as necessary for your site, but the default settings will work if you just want to use shadow passwords for AUC authentication.
In order to give users a password for this method, you must add an entry to the password database by hand from the UNIX command line. Here is an example of how to do so:
prompt> mysql -u DBUSER -p -h DBHOSTNAME
Password: DBPASSWORD
db prompt> use DBNAME;
db prompt> insert into passwd (uname, passwd)
values ("USERNAME", password("PASSWORD"));
db prompt> exit
DBUSER, DBHOSTNAME, and DBPASSWORD are your username, password and the hostname of the MySQL server. DBNAME is the name of the database you created for AUC. USERNAME and PASSWORD are the username and password of the user you are adding to the system.
Note: in future version of AUC, this method will have a web-based tool for maintaining passwords
To modify information about any users on the system, select the "User Account Manager" link from your Start Page. The User Account Manager displays a list of all the users on the system, sorted and paginated by several possible fields. You can select a different sort field from the drop down box at the top of the screen. Different pages can be chosen from the list the appears just above the table of users. The "options" column has a variety of links to modify the selected user:
By selecting the "edit" link, you can change any information about a user that you specified when creating that user. See the section on "Creating User Accounts", above, for a description of the fields.
The "delete" link will delete a user completely from the system. You will be asked for confirmation before the operation is performed. Note that a user deleted here will NOT be recoverable. However, any files that the user uploaded anywhere (including their home directory) will be preserved. Also, any comments posted in discussion forums will remain.
The "DirInfo" link allows the administrator to add information to a user's account that will appear in the Directory Listing for that user. The fields are as follows:
Click "Save Entry" to update the information.
Groups are necessary when the administrator wishes to designate a certain user or a certain set of users to have access to a private area of AUC. For example, any user in the "newspaper" group will have access to the staff only area of the newspaper, allowing them to have full control over the text and publication of the online school newspaper.
To add a group, click the "Add Group" link in the "Account Administration" portion of an administrator's Start Page. The resulting form is used to specify the name of the group as well as any members of the group. For the name, it should be all lowercase and 8 characters or less with no spaces. Specify the usernames of any users that should be in the group (they can be adjusted later), one per line.
To access a list of groups, click the "Group Manager" link from the Start Page. A list of groups will appear will various options. The following changes can be made:
The Home Directory is the link that appears in the "File Servers" section of the Start Page. If the PAM-authentication method is being used (see Section "Specifying a Password") and the user already has an account on the userlying UNIX server, "Home Directory" will access the files in the users tradional UNIX home directory. Otherwise, a temporary directory will be created for the user's "Home Directory."
If PAM-authentication is being used, and the user has an account on the underlying UNIX server, the "E-Mail" component of AUC will be able to access the local mail spool for that user. In addition, AUC uses the same mail preferences file as pine (the ~/.pinerc file), allowing pine and AUC to coexist peacefully. If the user has no account on the server or PAM-authentication is not being used, the user will still be able to set up IMAP access for the "E-Mail" component of AUC.
There are three main components to think about relating to the Interactive Classrooms. These parts are:
The Master Calendar needs to be configured properly for many functions of the interactive classrooms to work. It normally only needs to be updated once per year.
To set it up, click the "Master Calendar" link in the "Classes Administration" pane of your Start Page. You will be presented with a configurable list of dates. Note: AUC is hardwired at the moment to work only with "block scheduling," a style of scheduling where the 7 or 8 periods of a student's class schedule are split between two days, with approximately 90 minute periods each day. However, in the next version, block scheduling will be an option, and not required. AUC also assumes that your school has two semesters per year. This will also be configurable in the future.
"Semester 1 First School Day", "Semester 2 First School Day", "Semester 1 Last Regular Day", and "Semester 2 Last Regular Day" should be self-explanatory. Just set them to the proper days. The other two dates, "Semester 1 First Odd Day" and "Semester 2 First Odd Day" are the dates that block scheduling starts for each semester. If your school has a day or two of normal scheduling before block scheduling begins, the "odd" day should be the first day of block scheduling. If no such grace period exists, just set the first "odd" day to the same day as the first school day.
Click "Save" when all the dates are correct. These options should be set once per school year.
Before adding classrooms, you should do some careful planning. You probably have a lot of classes being taught at your school. It would be a good idea to get a master list of all the classes along with teachers and other necessary information. This ensures that you are consistant with the information you add to the database. If you have an electronic copy of the schedule, you could add all the classes to the database by altering the SQL database directly. However, doing so is beyond the scope of this document.
To add a class to the database of classes, select the "Add Class" link from the "Classes Administration" pane on your Start Page. The resulting form will allow you to specify details about the class you are adding. The necessary fields are as follows:
When you are done entering this information, click the "Add Entry" button to create your new class. The class will then be accessable from AUC, and can also be added to anyone's interactive schedule, by using the "Customize Schedule..." link, and specifying the 8-digit code.
The class database can easily become very large if a school has a lot of classes taught during the year. AUC has been tested with over a thousand classrooms, and still operates just as fast as with a only handful of classes. The Class Manager is used to maintain these classes. It can be reached from the "Class Manager" link in the "Classes Administration" pane of the Start Page.
The Class Manager operates in much the same fashion as the User Account Manager. It lists all the classes in the database, and can be sorted and paginated by several fields. There are two main functions available from the class manager for each class:
Depending on your number system for classes, a certain teacher's class may change ID numbers from year to year. If a class's subject-teacher identifier (remember that a unique subject is determined by the first 6 digits of the class ID) ever changes, all the documents will appear to be lost for that class. Even though the teacher may no longer be able to see these documents, they are still available on the server.
In most installations of AUC, all the classes' data files will be stored in the directory /var/auc/class. Each class will have a subdirectory within that directory named according to the subject-teacher identifier. If a class is deleted, renamed, or moved, the directory of files will still exist. It is up to the system administrator to remove these files by hand. Also, the contents of the directory can be moved to another class, or put in a teacher's home directory.
Here is a list of frequently asked questions about more advanced administration topics not completely covered in the documentation above.
When a user logs in to the system, AUC may have to authenticate a user using PAM. PAM requires a client application to have superuser priveledges in order to authenticate. However, as soon as AUC has authenticated (or not) a user, it will drop it's superuser priveledges in favor of the user's uid and gid (if the user has a local account) or the same uid and gid of the web server (in all other cases).
Edit the files in /etc/auc that have names home.GROUPNAME, where GROUPNAME is the name of a group to which a user would belong. These files contain a newline-seperated list of panes to appear in a user's start page if the user is a member of that group. To see a complete list of possible pane names, look in the src/nodelett.h file in the source code of the AUC package.
If the user has a local account on the server, their normal home directory will be used for the "File Servers" pane of their Start Page. If they do not have a local account, a home directory will be created for them in /var/auc/home. It is important to note that if you create a local account for a user who has had an AUC account for some time, you should move any of their files in /var/auc/home/USERNAME to their new home directory.
Yes, any authentication scheme is possible using PAM. If you have PAM currently configured to authenticate to an external database for another service such as 'login', you can just copy /etc/pam.d/login to /etc/pam.d/auc. This modification will work in nearly all cases. Numerous PAM modules are available on the 'net to authenticate to various types of external databases, however the exact configuration of such a setup is beyond the scope of this document. See the PAM documentation for more information.
Getting Started With AUC * The AUC E-Mail Client * The AUC File Manager * AUC's Interactive Classrooms * AUC People List and Directory * ADVANCED - AUC for Teachers * ADVANCED - AUC for Administrators