Managing login account creation with the World Wide Web


Peter Austin, Academic Computing Services, Edith Cowan University, 2 Bradford Street, Mount Lawley, WA 6050, Australia. Phone: +61-9-370-6364, Fax: +61-9-370-6100 Email: p.austin@cowan.edu.au
Keywords: Systems Administration, Integration

Introduction

Edith Cowan University has approximately 20,000 students enrolled across 4 campuses, one of which is located 170km to the south of Perth. Student computing facilities are provided by 6 Novell NetWare networks, serving approximately 460 DOS/Windows and Macintosh workstations, 8 unix hosts, and a modem pool. The management of login accounts on these servers, hosts and the modem pool has become a major problem with students having different login names on different systems. It is difficult enough to get them to remember passwords, let alone 3 or 4 different login names! In addition, IT support staff were allocating increasing amounts of time to the creation and maintenance of login accounts.

A solution was needed! At the end of November, 1994, I volunteered to produce a solution using WWW technology. This paper describes the design, implementation and initial appraisal of this solution.

System Requirements

The requirements set down for the new system were:

Early in the implementation stage, the requirements were extended to include the managing of accounts on the university modem pool for both staff and students. As a result, staff would also have a single login name, to be used on all systems.

System Design

A solution using World Wide Web (via HTML forms and CGI scripts) and SMTP electronic mail was chosen because:

Message Protocol

As electronic mail is used as the communication medium between the HTTP server and the systems on which accounts are to be created, a message protocol needed to be established. Four messages have been identified so far and the protocol can be easily extended.

  1. Add User

    This message requests the creation of a new account on the system. If the account already exists on the system it is ignored.The format of the message is AU:Login:Name:Password:Groups where:

    Note that for Add User messages sent to the modem pool, information about units is dropped and the message modified to AU:Login:Name:Password:Type where: This divergence occurred because of the late addition of the modem pool to the account creation system. The two message formats will eventually be blended into a single message format.

  2. Remove User

    This message requests the removal of an existing account from the system. The format of the message is RU:Login where:

  3. Add Group

    This message requests the addition of an existing account to the specified group. The format of the message is AG:Login:Group where:

  4. Remove Group

    This message requests the removal of an existing account from the specified group. The format of the message is RG:Login:Group where:

Account Creation Process

The account creation process involves different procedures for staff and students.
  1. Student Accounts

    The login account creation process for students occurs as follows:

    1. A student completes and signs a login account application form. This is necessary since the student must agree to abide by the rules of computer use within the university.
    2. The form is then submitted to a campus IT support officer who uses a HTML form to enter the student's ID number, plus select the systems on which the login account is to be created.
    3. The form is submitted to a CGI script which searches a database of students for the ID number. If found, the script returns another HTML form displaying:
      • The student's ID number.
      • Their full name.
      • Their login name and initial password.
      • Units they were enrolled in, and
      • The systems selected for account creation. This has been structured so that every student that applies for an account on any system will automatically be given an account on the modem pool.
    4. If the displayed information corresponds to that on the application form, the IT support officer prints a copy of the form for the student, then submits it to another CGI script which appends an Add User command to account creation files for each system selected for account creation.
    5. At hourly intervals, a script on the HTTP server system emails the contents of each system's account creation file to a nominated email address on the system. A server process on that system then creates the actual account.

  2. Staff Accounts

    The account creation process for staff occurs as follows:

    1. A staff member provides a campus IT support officer with their staff ID number, name and their university email alias.
    2. The IT support officer then enters the staff ID and email alias into a HTML form and submits it to a CGI script. If the staff ID is found in the staff database and they are currently employed and the specified email alias exists, another HTML form is returned displaying:
      • The staff ID number.
      • The staff member's name.
      • Their login name.
      • Their initial password.
    3. If the displayed information is correct, the IT support officer submits the form to another CGI script which appends an Add User command to the modem pool account creation file. Details of the staff member's login ID and initial password are automatically e-mailed to their email alias. The form can also be printed for the staff member if required.
    4. At hourly intervals, a script on the HTTP server system emails the contents of the account creation file to the modem pool. A server process on that system then creates the actual account.

Implementation

Implementation of the design has initially been constrained to the undergraduate Novell networks, a single undergraduate Unix host and the university modem pool. If the implementation proves worthwhile on these systems, it can be easily extended to include other systems.

The implementation process has required the development of:

  1. Scripts for the construction and maintenance of student and staff databases.
  2. HTML documents and forms for data entry. To access a demonstration of these, click here
  3. CGI scripts to process the HTML forms.
  4. A script to mail the account creation requests to the systems on which accounts are to be created.
  5. Scripts to run on the systems on which accounts are to be created. These process the messages e-mailed from the HTML server. Implementation of these scripts has been left to the relevant system administrators. A description of the NLM developed for the Novell NetWare servers can be seen here.
  6. Security strategies to minimise the risk of unauthorised people using the system to create accounts.

System Evaluation

After some initial concerns by the operators of the system that they had not had enough time to become familiar with it, reaction has been very positive. Many suggestions are being put forward concerning ways in which the system could be improved. I always take this as a positive sign!

Positive aspects of the system include:

  1. The system has streamlined the process of creating login accounts and reduced the amount of data entry required from IT support officers and other system administrators.
  2. The ability to quickly make changes when problems arise or enhancements are required has proven to be an asset. This particularly applies to the HTML forms and the online documentation.
  3. The asynchronous nature of the system, enabling parts of it to be taken down without impacting other parts, has been very useful for dealing with initial scripting problems on both the HTTP server and the target systems.
A number of problem areas have also been identified:

  1. The browser used (Netscape):
  2. The HTML specification:
  3. Maintaining the databases.

Conclusion

Whilst the project was done in too much of a hurry (aren't they all), it has been implemented remarkably smoothly. In fact I am quite amazed that the problems encountered have largely been minor ones, common to all projects.

What has contributed to this success has been the ease with which the World Wide Web can be used for application development. Whilst the tools available for creating HTML forms are only just becoming really "user friendly", once you know HTML it is not difficult to knock up a form very quickly.

CGI scripting can be as difficult and complex as you want to make it. TCL has proven to be easy to learn and adequate to the task although for more complex tasks other languages may be a better solution.

Importantly, however, the system has demonstrated potential for expansion to both:


Copyright

© Southern Cross University, 1995. Permission is hereby granted to use this document for personal use and in courses of instruction at educational institutions provided that the article is used in full and this copyright statement is reproduced. Permission is also given to mirror this document on WorldWideWeb servers. Any other usage is expressly prohibited without the express permission of Southern Cross University.
Return to the AusWeb95 Table of Contents

AusWeb95 The First Australian WorldWideWeb Conference