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:
- A student would have a single login name, to be used on all systems. This login name would be
permanently allocated to the student - in the same way that their student ID was.
- IT support staff should be able to create login accounts on any system, located on any campus, with a
minimum of effort.
- The system needed to enforce security so that only authorised people could access it.
- The system would have to use existing resources; there was no budget.
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:
- World Wide Web software is multi-platform and freely available.
- The combination of HTML forms and CGI scripts is extremely flexible.
- The store-and-forward capabilities of electronic mail allows asynchronous operation of the system.
- Documentation for the system could be easily built in.
- The university is in the early stages of adopting WWW technology in a major way and this project will
serve as a good trial of one of the technology's capabilities.
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.
- 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:
- AU
indicates Add User.
- Login
is the login name.
- Name
is the name of the account holder.
- Password
is the initial password for the account.
- Groups
is a comma-separated list of groups which correspond to units that the student is enrolled in. If a group does not exist on a system, it is
ignored.
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:
- Type is either U (undergraduate), P (postgraduate), or S (staff). The distinction is required because undergraduate students use a modem pool number different to the one used by staff and postgraduate students (postgraduate students are considered equivalent to
staff).
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.
- Remove User
This message requests the removal of an existing account from the system. The format of the message is RU:Login where:
- RU
indicates Remove User.
- Login
is the login name.
- 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:
- AG
indicates Add Group.
- Login
is the login name.
- Group
is the group name, which corresponds to a unit code.
- 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:
- RG
indicates Remove Group.
- Login
is the login name.
- Group
is the group name, which corresponds to a unit code.
Account Creation Process
The account creation process involves different procedures for staff and students.
- Student Accounts
The login account creation process for students occurs as follows:
- 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.
- 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.
- 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.
- 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.
- 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.
- Staff Accounts
The account creation process for staff occurs as follows:
- A staff member provides a campus IT support officer with their staff ID number, name and their university email alias.
- 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.
- 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.
- 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:
- Scripts for the construction and maintenance of student and staff databases.
- HTML documents and forms for data entry. To access a demonstration of these, click here
- CGI scripts to process the HTML forms.
- A script to mail the account creation requests to the systems on which accounts are to be created.
- 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.
- 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:
- 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.
- 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.
- 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:
- The browser used (Netscape):
- There is no accelerator key for printing which means that the user has to open the File menu and select Print in order to print login details for the student or staff member.
- When a form is displayed, the cursor is not automatically placed in the field. This means that the operator has to click with the mouse before typing. Even if pressing the Tab key would move the cursor there, it would be a great improvement.
- The HTML specification:
- A nice addition to the specification would be the ability to enable hot keys within field labels. This would allow the keyboard to be used for all data entry on the form. On the whole, having to move between keyboard and mouse often whilst filling out a form is not a good thing.
-
Maintaining the databases.
- Whilst this has now been largely automated there is still the need to ensure regular updates. However, I think it is a worthwhile compromise. Whilst the ability to directly link CGI scripts to the university's central SQL databases has some technical appeal, the response rate would be too slow. By having dedicated databases for the system, the operators are attaining very fast responses to queries. This is very important if you have large numbers of accounts to create.
- It has become apparent that there are categories of login accounts where the person does not appear in either database. People falling into these categories include:
- Students from other teaching institutions who have been given permission to use the university's facilities.
- Students taking part in community extension courses.
- Visiting fellows.
A present, these people are being dealt with manually but I hope to be able to extend the system to cater for them.
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:
- Increase the number of systems for which account creation can be handled, and
- Be applied to other applications of a like nature.
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