Web-based Laboratory Network Management System that Integrates Multiple Servers

Similar documents
Integrated Laboratory Network Management System

Hierarchical frame and frameset components for visual programming of web applications

Context-Dependent Extensible Syntax-Oriented Verifier with Recursive Verification

Project #4: Implementing NFS

SUN SOLARIS. Course Catalog

Linux Administration

Web-Based Testing and Self-Assessment System Implemented with Open Technologies

DESIGN AND IMPLEMENTATION OF SAGE DISPLAY CONTROLLER PROJECT

Design and Implementation of File Sharing Server

Logging. Steven M. Bellovin December 6,

A PROPOSAL OF USER AUTHENTICATION AND A CONTENT DISTRIBUTION MECHANISM USING P2P CONNECTION OVER A MOBILE AD HOC NETWORK

Language Grid Toolbox: Open Source Multi-language Community Site

Opengate and Open space LAN in Saga University

MythoLogic: problems and their solutions in the evolution of a project

A PORTAL SYSTEM AND ITS APPLICATION BASED ON DACS WEB SERVICE

Log Analyzer Reference

Chapter 11: File-System Interface

Security Technologies for Dynamic Collaboration

JOURNAL OF OBJECT TECHNOLOGY

Remote Health Service System based on Struts2 and Hibernate

ASTRA USER GUIDE. 1. Introducing Astra Schedule. 2. Understanding the Data in Astra Schedule. Notes:

Parallel Panther Beowulf Cluster

Networks, WWW, HTTP. Web Technologies I. Zsolt Tóth. University of Miskolc. Zsolt Tóth (University of Miskolc) Networks, WWW, HTTP / 35

Performance Bottleneck Analysis of Web Applications with eassist

Project #3: Implementing NIS

USER S MANUAL. - Security Server. Security Server. Security Server. smar. First in Fieldbus MAY / 06 VERSION 8 FOUNDATION

REQUIREMENT DOCUMENTATION

EI 338: Computer Systems Engineering (Operating Systems & Computer Architecture)

Users and Groups. his chapter is devoted to the Users and Groups module, which allows you to create and manage UNIX user accounts and UNIX groups.

Part Four - Storage Management. Chapter 10: File-System Interface

Application Layer: OSI and TCP/IP Models

Application of a Visual Computer Simulator into Collaborative Learning

COMPUTER INFORMATION SYSTEMS

Course Design, Representation and Browser for Web Based Education

Likewise Open provides smooth integration with Active Directory environments. We show you how to install

How to Use This Lab Manual

Advanced Network and System Administration. Accounts and Namespaces

Tivoli Provisioning Manager for OS Deployment Installation on W2003R2-NFS-MySQL

Outline. UNIX security ideas Users and groups File protection Setting temporary privileges. Examples. Permission bits Program language components

WKA Studio for Beginners

Three Level Authentication for Student Attendance Management System

LivePoplet: Technology That Enables Mashup of Existing Applications

Decision on opposition

ISSN: January 2017 IJSDR Volume 2, Issue 1. College Website

Wildlife Enforcement Monitoring System. User Manual. Khoi Nguyen Remi Chandran Ng Chong. type date version. User Manual July 07, 2011 Version 1-1

FTP. Client Server Model. Kent State University Dept. of Computer Science. CS 4/55231 Internet Engineering. Server Models

Entrust Identification Server 7.0. Entrust Entitlements Server 7.0. Administration Guide. Document issue: 1.0. Date: June 2003

Full Stack Web Developer Nanodegree Syllabus

(Worth 50% of overall Project 1 grade)

1. Federation Participant Information DRAFT

Fedora Core: Made Simple

VeraLab TM Guard Mac Client Computer Lab Management Suite Installation Guide 8.3 for Mac OS X. August 2018 VERALAB TM

Chapter 11: File-System Interface

ACCESS CONTROL IN A SOCIAL NETWORKING ENVIRONMENT

Ekran System v.6.0 Privileged User Accounts and Sessions (PASM)

Ekran System v Program Overview

Program Structure I. Steven M. Bellovin November 8,

Website Designing for

Computational Detection of CPE Elements Within DNA Sequences

Client Side Scripting. The Bookshop

CLIQ Web Manager. User Manual. The global leader in door opening solutions V 6.1

Contents at a Glance COPYRIGHTED MATERIAL. Introduction...1 Part I: Becoming Familiar with Enterprise Linux...7

Chapter 5 Live Data Collection Windows Systems

SYLLABUS. Title: Unix Network Administration II

Web Front Technology: Interstage Interaction Manager

Chapter 11: File-System Interface. Operating System Concepts 9 th Edition

Backup and Recovery Scheme for Distributed e-learning System

JOURNAL OF OBJECT TECHNOLOGY

Web-interface for Monte-Carlo event generators

TextProc a natural language processing framework

User Registry Configuration in WebSphere Application Server(WAS)

SoftEther VPN Server supports the clustering function. This section explains the clustering function.

Lecture 9a: Sessions and Cookies

Chapter 7: File-System

PROFESSOR S QuICk GuIdE TO TWEN

CS3600 SYSTEMS AND NETWORKS

License Patrol TM Mac Client Installation Guide 8.3 for Mac OS X. August 2018 VERALAB TM

Protection! User Guide. A d m i n i s t r a t o r G u i d e. v L i c e n s i n g S e r v e r. Protect your investments with Protection!

Online Programming Assessment and Evaluation Platform. In Education System

A Web Based Registration system for Higher Educational Institutions in Greece: the case of Energy Technology Department-TEI of Athens

SERVIS TM IP-KVM. Capable of Operating Computers via Network FX-7001NP

ParaChat v9.12 Hosted Documentation - PDF

Browser Managed Security With No Software Installation

Support for the HIPAA Security Rule

Inventions on using LDAP for Different Purposes (Part-2) - A TRIZ Based Analysis of US Patents

Managing External Identity Sources

Spontania Administrators Manual

Document Management System GUI. v6.0 User Guide

UNIT 9 Introduction to Linux and Ubuntu

IJSRD - International Journal for Scientific Research & Development Vol. 3, Issue 02, 2015 ISSN (online):

Networking Operating Systems (CO32010)

Users Guide. Kerio Technologies

Crystal Enterprise. Overview. Contents. Web Server Overview - Internet Information System (IIS)

THE FACT-SHEET: A NEW LOOK FOR SLEUTH S SEARCH ENGINE. Colleen DeJong CS851--Information Retrieval December 13, 1996

Program Structure I. Steven M. Bellovin November 14,

Niagara AX Security. Overview Westerre Parkway, Suite 350 Richmond, VA Ph: Fx:

WEB-BASED COMPUTER VISUAL SIMULATOR An Education Tool with Java Technologies

CloudLink SecureVM. Administration Guide. Version 4.0 P/N REV 01

W E B M I N : A W E B - B A S E D S Y S T E M A D M I N I S T R AT I O N T O O L F O R U N I X

UNIT V. Dr.T.Logeswari. Unix Shell Programming - Forouzan

Transcription:

INFORMATION SCIENCE & APPLICATIONS Manuscript received August 17, 2007; revised November 15, 2007 Web-based Laboratory Network Management System that Integrates Multiple Servers Takao Shimomura University of Tokushima Dept. of Info Sci. & Intel. Syst. Tokushima JAPAN simomura@is.tokushima-u.ac.jp Nhor Sok Lang University of Tokushima Course of Info Sci. & Intel. Syst. Tokushima JAPAN soklang@is.tokushima-u.ac.jp Quan Liang Chen University of Tokushima Course of Info Sci. & Intel. Syst. Tokushima JAPAN quan@is.tokushima-u.ac.jp Kenji Ikeda University of Tokushima Dept. of Info Sci. & Intel. Syst. Tokushima JAPAN ikeda@is.tokushima-u.ac.jp Abstract: There are some tools that help system administrators administer machines and networks using graphical user interface and Web interface. This paper presents a Web-based system that automates some processes to connect machines to a network, create accounts, mount remote home directories, set mailing lists, and so on by cooperating with multiple servers, and describes its implementation. By introducing this novel system, a lot of task has been reduced compared with the conventional administrative tasks, and it has become easier for users to create and change their own accounts and connect their machines to the network without login. Key Words: Account, Administration, AJAX, Network, Web 1 Introduction In laboratories at university, every year, a lot of students leave a laboratory and new students come to the laboratory. They are senior students at faculties and graduate students in master and doctoral courses. In a laboratory, there are several rooms such as professors offices, student rooms, computer rooms, seminar rooms and laboratory rooms. A professor s office has some machines (i.e. computers) for the professor. A student room has several machines each of students in the room can own. Computer rooms and laboratory rooms have a lot of machines both of professors and students can share. All of these machines are connected with each other through a laboratory network. Because a lot of students leave a laboratory and new students come to the laboratory at the end of every year, a lot of tasks such as installing machines, connecting them to the network, and creating and deleting accounts occur. There are some tools that help system administrators administer machines and networks using graphical user interface and Web interface, such as Webmin, Nagios, idns-ms, DNS Ontology, Friendly- RoboCopy, and Digital Evidence Bag. Webmin [1] is a Web-based interface for system administration for Unix. Using a Web browser, we can setup user accounts, Apache, DNS, file sharing and so on. It is a convenient tool that can be used to make a variety of settings after an operating system and several servers are installed on a machine. A Webmin server runs with the privilege of the system administrator (root), and directly updates system files. User accounts are created by the system administrator (or a Webmin user). As a result, when the system administrator creates a new account for a user, he needs to set a temporary password for that new account, and then he needs to inform the user of the temporary password in some way. After that, the user also needs to change the temporary password to set his own password. In Webmin, all accounts included in /etc/password file are administered, and therefore it cannot classify user accounts according to the groups of a laboratory. While NisWeb system this paper presents is user-oriented, Webmin is administrator-oriented, and does not have the concept that each user can administer his or her own account. Nagios [2] is a monitoring tool for machines, services and networks. We can examine the status of networks, resources of machines, and perfor- ISSN: 1790-0832 1422 Issue 12, Volume 4, December 2007

mance INFORMATION of services SCIENCE using a& APPLICATIONS Web browser. idns-ms [3] [4] is a unifying environment for providing plausible answers to help solve the complex DNS management problems or alleviate these DNS administration loadings. It is developed by using web interface and expert system technology. DNS Ontology [5] is a unifying framework for supporting intelligent DNS management using web interface and expert system technology to help inexperienced administrators in insuring the smooth operation of their DNS systems. RoboCopy [6] is a tool for the extraction and forensic preservation of a subset of data on target computer systems. FriendlyRoboCopy provides an effective, user-friendly interface to RoboCopy. Digital Evidence Bag [7] is a universal container for digital evidence from any source, and used to diagnose system behaviors. It allows the provenance to be recorded and continuity to be maintained throughout the life of the investigation. This paper presents a Web-based system that automates some processes to connect machines to a network, create accounts, mount remote home directories, set mailing lists, and so on by cooperating with multiple servers, and describes its implementation. By introducing this novel system, a lot of tasks have been reduced compared with the conventional administration, and it has become easier for users to create their own accounts and connect their machines to the network [8]. 2 Requirements The machines students can use are arranged in student rooms, computer rooms, and laboratory rooms, and those machines are connected with each other through a network. Students use their machines in student rooms to develop software. They use machines in computer rooms to demonstrate software to other students and visitors, and use machines in laboratory rooms to use them in specific environments (See Fig. 1). Requirement 1 It would be better for students to log in any machine in the same way. That is, a student should log in any machine with the same account and password, and use the same home directory although this home directory might exist on another machine. The file system that is used as a home directory may exist on either a student s machine or a shared machine. In our department, account names are also used as the user names of mail addresses that have the common domain name of the department (is.tokushimau.ac.jp). That is, the mail address of a student who Department Computer room Student rooms IS shared machines student machines sysm shd1 std1 aliases DHCP master DNS master NIS master NFS NisWeb syss shd2 shd3 shd... std2 std3 std... DHCP slave DNS slave NIS slave SMTP POP shd... std... Figure 1: Laboratory network configuration has account venus becomes venus@is.tokushimau.ac.jp. Requirement 2 Therefore, account names should be unique among not only a laboratory but also the department. Previously, the system administrator created accounts for new students by using administrative commands. Requirement 3 To reduce the loads of the system administrator, a new student should create his or her own account and set their passwords. To fulfill these requirements, we have developed a Web-based laboratory management system NisWeb. The NisWeb system cooperates with DHCP, DNS, NIS, NFS, AutoFS, Web, DB and Mail servers to automate the processes that create accounts, set mailing lists, connect machines to the laboratory network, and mount remote home directories. As shown in Fig. 1, on sysm machine in the computer room, DHCP, DNS, NIS, NFS servers and the NisWeb system that contains Web server, DB server and a system daemon are running. On syss machine in the computer room, the slave servers of DHCP, DNS, and NIS, and mail servers such as STMP, POP are running. 3 Implementation 3.1 Flexible home directory mount We would like to enable a student to log in any machine with the same account and password, and to use the same home directory even if this home directory exists on another machine. For example, suppose that student stdx wants to mount as his home directory the default home directory /exportb2lab/local/stdx that sysm machine provides ISSN: 1790-0832 1423 Issue 12, Volume 4, December 2007

any INFORMATION (login: stdx) SCIENCE & APPLICATIONS sysm sysm home /b2lab /local/stdx mount (a) Default home directory any (login: stdy) stdy remote home /b2labremote/stdy mount (b) Remote home directory sysm /etc/auto.master /b2lab yp:auto.home /b2labremote yp:auto.remote /etc/auto.home local -rw sysm:/exportb2lab/local /etc/auto.remote (Dynamically changed) stdy -rw stdy:/home/stdy (c) Nis server settings /exportb2lab/local/ stdx /home/stdy Figure 2: Flexible home directory mount even if he logs in any machine. Student stdy wants to mount the home directory /home/stdy of her own machine stdy as her home directory even if she logs in any machine. As shown in Fig. 2, when student stdx logs in a machine, his home directory will be /b2lab/local/stdx, and the default home directory /exportb2lab/local/stdx that sysm machine provides will be mounted at /b2lab/local/stdx. When student stdy logs in a machine, her home directory will be /b2labremote/stdy, and the home directory /home/stdy of her own machine stdy will be mounted at /b2labremote/stdy. To realize these functions, the NisWeb system makes use of NIS and AutoFS servers and automates these settings (Requirement 1). The NisWeb system creates NIS maps for the NIS master server on sysm machine as shown in Fig. 2. It specifies mount points /b2lab and /b2labremote in /etc/auto.master file. It defines /etc/auto.home file so that the default home directory /exportb2lab/local that sysm machine provides will be automatically mounted at /b2lab/local. It defines /etc/auto.remote file so that the home directory /home/stdy of machine stdy will be automatically mounted at /b2labremote/stdy. This line of stdy -rw stdy:/home/stdy will be dynamically added to /etc/auto.remote file when student stdy creates her own account. In this situation, we cannot use /home/stdy, which is commonly used as a mount point, instead of /b2labremote/stdy. The reason is because the file system will be recursively referred to if stdy machine joins in the NIS service as a NIS client. 3.2 NisWeb system configuration Figure 3 shows the NisWeb system configuration. NisWeb server is running on sysm machine. Because NisWeb server is a Web server, it is running with the privilege of an ordinary user. It cannot deal with such processes as creating accounts that require the privilege of the system administrator (root). To execute such processes, we have determined to run a NisWeb daemon. The NisWeb daemon is arranged in /etc/rc.d/init.d directory, and is automatically started at the system boot time. NisWeb server asks NisWeb daemon to perform some processes that require the privilege of the system administrator such as creating and deleting accounts. Students can log in any machine, and access NisWeb server on sysm machine by using Web browsers. When a Web browser sends NisWeb server a request for creating an account, NisWeb server will ask NisWeb daemon to create the account through the socket communication. By executing various kinds of scripts, NisWeb daemon will perform such processes as creating accounts, mounting remote home directories, and setting mailing lists. The following procedure shows how to create an account for a user. (1) Obtain an encrypted password from an entered plain password by using MD5 algorithm. (2) By executing /usr/sbin/useradd command, add an account name, the encrypted password, and a home directory name to the /etc/passwd file (See Fig. 4 (c)). (3) By executing addmount script to mount a remote home directory, add a mount point and a remote file system to the /etc/auto.remote file. (4) By executing makenis script, update the Nis maps and reload the AutoFS server. (5) By executing addlabml script, add the account name to /etc/postfix/labml mailing list on sysm machine. (6) Add the account to account DB table (See Sec. 3.4). A mail server Postfix is running on syss machine. The mailing list of our laboratory is administered at /etc/postfix/labml file on syss machine. When the account of a new student stdx is created, the account name stdx will be added to the /etc/postfix/labml file so that a mail that is sent to labml@is.tokushimau.ac.jp can reach the student stdx. ISSN: 1790-0832 1424 Issue 12, Volume 4, December 2007

INFORMATION any (login: SCIENCE stdx) & APPLICATIONS access sysm NisWeb server (adm) laboratories Web browser request update /etc/auto.remote execute cd /var/yp; /usr/bin/make /sbin/service autofs reload syss account DB NisWeb daemon (root) update /etc/postfix/labml execute Script files addmount removemount makenis addlabml removelabml Figure 3: NisWeb system configuration 3.3 Introduction of account administrative type A laboratory has multiple professors, and each of them instructs multiple students in their research. To easily see which student is studying under which professor, we have determined to show a list of students accounts so that they will be classified according to their professors. To do this, we have prepared laboratories configuration file as shown in Fig. 4 (a), which defines professors names (name) and the titles of the professors laboratories (title). The list of students accounts will be shown according to the definition of this laboratories configuration file. In addition, we have defined the following account administrative types of professors so that professors can correct students erroneous accounts and remove the accounts of the students who have graduated or finished their courses. (1) lab type Professors can freely change and remove the accounts of the students they instruct. (2) adm type Professors can freely change and remove the accounts of all students. (3) guest type Any professor can change and remove the accounts of the students who study under the professor whose administrative type is guest. name type title simomura adm Shimomura Lab.) ikeda lab Ikeda Lab.)......... guest guest Guests) (a) laboratories configuration file name account host home simomura simomura simoln /home/simomura simomura azusa sysm /b2lab/local/azusa simomura quan sysm /b2lab/local/quan ikeda ikeda sysm /b2lab/local/ikeda... (b) account DB table The privilege of adm administrative type is given to the NisWeb system administrator. When anysimomura:x:6111:6100:takao Shimomura: /b2labremote/simomura:/bin/bash azusa:x:7033:6500:azusa Imai: /b2lab/local/azusa:/bin/csh quan:x:6943:6500:quan Liang Chen: /b2lab/local/quan:/bin/csh... (c) /etc/passwd file Figure 4: Configuration files and a database table one temporarily needs accounts for demonstrations, exhibitions, and experiments, they can make the accounts under the privilege of guest administrative type. 3.4 Database table configuration The /etc/passwd system file contains a lot of accounts other than students accounts. We would like to show only the accounts of professors and students among them. In addition, the students accounts should be classified according to the professors under whom they study. To do this, the information that indicates which student s account belongs to which professor needs to be recorded. Moreover, the information that indicates whether a student uses either the default home directory that sysm machine provides or the home directory of the machine the student owns as his or her home directory also needs to be recorded. For these reasons, we have created an account DB table that is shown in Fig. 4 (b) to record these pieces of information permanently. The name field of the table indicates the account names of professors; the account field indicates the account names of the students who belong to the corresponding professors; and the host field indicates the machines on which their home directories exist. When a student uses the default home directory that sysm machine provides, the home field will record /b2lab/local/accountname ; and when a student uses the home directory of the machine the student owns, this field will record the student s home directory on the machine. The NisWeb home page will show only the accounts that are recorded in this account DB table as a list of accounts. In this way, the other accounts included in the /etc/passwd ISSN: 1790-0832 1425 Issue 12, Volume 4, December 2007

(a) Japanese NisWeb home page INFORMATION SCIENCE & APPLICATIONS (b) English NisWeb home page Figure 5: Examples (English and Japanese) of NisWeb home page system file can be excluded. 4 NisWeb system 4.1 NisWeb home page Figure 5 (b) shows an example of the NisWeb home page. Its left frame contains some links to a help page and several professors laboratories, and below them, a list of registered accounts, a list of registered user IDs, how to connect machines to the network, and a list of host names. Its right frame shows a list of students accounts that are classified according to the professors under whom students study [9], [10]. When new students come to the laboratory of this research group, they can create their accounts by clicking on the Create New Account button on the right of the corresponding professors laboratory titles (Requirement 3). When they want to change or delete their accounts, they have only to click on the Change button on the right of their account names. When professors want to change or delete their students accounts by the privilege of lab administrative type, they have only to click on the Manager Login button on the right of their laboratory titles. 4.2 Creating, changing, and deleting accounts When a new student comes to the laboratory and clicks on the Create New Account button on the right of his professor s laboratory title, a pop-up window will appear as shown in Fig. 6. Only by entering an account name (venus), password (*****), and the student s name (Venus de Milo), a new account can be created. The other options will be automatically set by default (See Fig. 6 (b) and (c)). A group ID will be automatically set, which is b2staff (6100) for a professor, and student (6500) for a student. When student stdy wants to use the home directory /home/stdy of her own machine stdy as her home directory even if she logs in any machine, she will check the Remote mount radio button, and specify stdy for the Machine name field, and /home/stdy for the Directory field. In this case, she will need to add the following line to the /etc/exports file on her stdy machine to make her home directory /home/stdy public to the laboratory network. /home/stdy 192.168.0.0/24(rw) For example, suppose that student stdx wants to mount as his home directory the default home directory /exportb2lab/local/stdx that sysm machine provides even if he logs in any machine, and that student stdy wants to mount the home directory /home/stdy of her own machine stdy as her home directory even if she logs in any machine. In this case, their accounts will be shown in the NisWeb home page as illustrated in Table 1 (See also Fig. 6 (d)). When students click on the Change button on the right of their account names, and then enter their account names and passwords to log in the system, they can change or delete their accounts (See Fig. 7 (a), (b), (c), and (d)). The user authentication is performed by encrypting an entered password with the MD5 algorithm, and comparing the encrypted password with that of the /etc/passwd file. 4.3 Unique account name input method In our department, account names are also used as the user names of mail addresses that have the common domain name of the department (is.tokushimau.ac.jp). That is, the mail address of a student who has account venus becomes venus@is.tokushimau.ac.jp. Therefore, account names should be unique among not only a laboratory but also the department. All mail addresses of the department are managed in the aliases file on IS machine of the department (See Fig. 1). To facilitate entering a unique account name, ISSN: 1790-0832 1426 Issue 12, Volume 4, December 2007

INFORMATION SCIENCE & APPLICATIONS Table 1: A part of account list Account name Name User ID Group ID Home directory machine Home directory Shell stdx Change Student X 7001 6500 sysm /b2lab/local/stdx /bin/bash stdy Change Student Y 7002 6500 stdy /b2labremote/stdy /bin/csh (/home/stdy) (a) Login (a) Create new account (c) Confirmation (b) Change account (d) Account deleted (b) Confirmation dialog (c) Account created Figure 7: Account deletion page example of the account creation page when i is first entered. Figure 9 (b) shows an example of the account creation page when ik has been entered. (d) New account "venus" Figure 6: Account creation page we have determined to show a list of account names that already exist in the department by using the AJAX mechanism [11] each time a new account name is being entered (Requirement 2). While a new account name is being entered, the Web browser keeps sending the prefix of the account that has been entered so far to the NisWeb server. Then, the NisWeb server receives all latest account names of the department from IS machine, and returns only the account names that start with the prefix to the Web browser as shown in Fig. 8. Let s try to enter an account name ikeda in the account creation page in Fig. 6. Figure 9 (a) shows an 4.4 Session-based switching method of languages Some of the graduate students in the laboratory are from foreign countries. The first time they enter the laboratory, most of them cannot understand Japanese well enough although they can speak English. We have designed the NisWeb system so that the NisWeb home page can be shown in any language around the world. Whether Japanese pages or English pages are shown depends on not the NisWeb system but the students who are accessing the NisWeb system by using Web browsers. Suppose that a Japanese student and a foreign student are accessing the NisWeb system at the same time from different machines. The NisWeb system needs to show Japanese pages to the Japanese student, and to show English pages to the foreign student. That is, the system needs to show its Web pages according to sessions. When a student chooses one of ISSN: 1790-0832 1427 Issue 12, Volume 4, December 2007

any INFORMATION SCIENCE & APPLICATIONS Web browser IS JavaScript ikeda prefix=ik ikefuji iklab sysm NisWeb server Servlet aliases a-tsuji akamatsu... ikeda ikefuji iklab... Figure 8: Unique account name input method Message_ja.properties Message_en.properties index.jsp locale = request.getparameter("locale"); rb = ResourceBundle.getBundle("Message", new Locale(locale)); session.setattribute("resourcebundle", rb); session ResourceBundle homeleftframe.jsp <input type="radio" onclick="top.location.replace( 'index.jsp?locale=en')"/>... rb = session.getattribute("resourcebundle"); <%= rb.getstring(messagekey) %> Figure 10: Session-based switching method of languages (a) "i" is entered (b) "ik" is entered Figure 9: Examples of facilitating entering a unique account name the language radio buttons in the NisWeb home page, the system will make the NisWeb home and its succeeding Web pages shown in the chosen language. As shown in Fig. 10, for all messages that are shown in the Web pages of the NisWeb system, we prepare their translation for Japanese (Message ja.properties), English (Message en.properties), and so on. When a Web browser sends a request to the NisWeb system to access it, the request is sent to index.jsp page. Then, that request is transferred to the NisWeb home page. The left frame (home- LeftFrame.jsp) of the NisWeb home page shows radio buttons for switching a language. The index.jsp page examines the value of the query data locale, and if the locale is specified, it will read the corre- sponding message property resource file to set variable rb. Then, it will record the value of variable rb, which is a pointer to the messages, in a session object [12]. In its succeeding Web pages, as shown in homeleftframe.jsp, the value of variable rb (a pointer to the messages) will be obtained from the session object, and rb.getstring(messagekey) will be invoked to show an appropriate message that corresponds to messagekey. When one of the language radio buttons is clicked, the index.jsp page will be shown again with the locale of the chosen language. Therefore, a request will be sent to the NisWeb home page again to be shown in the chosen language, and its succeeding Web pages can be also shown in the chosen language. At present, although the NisWeb system only supports Japanese (See Fig. 5 (a)) and English (See Fig. 5 (b)), we hope that foreign students who come to the laboratory from new countries will add their messages to this system. 4.5 Other NisWeb facilities In the registered account page, the left table shows the account names that have been registered in the laboratory network, and the right table shows the user names of mail addresses in our department. Each account or user name that appears in both of these tables will be shown in colored bold characters. For example, because account azusa in the left table that has been registered in the laboratory network also appears in the right table of our department mail addresses, it is shown in green and bold to mean that account azusa can be used as a mail address of azusa@is.tokushima-u.ac.jp. In addition, there are ISSN: 1790-0832 1428 Issue 12, Volume 4, December 2007

some INFORMATION Web pages SCIENCE such as & a APPLICATIONS help page, a list of registered user IDs, how to install and connect machines to the network, and a list of host names When a machine is connected to the laboratory network, it will automatically get its IP address from the DHCP server, and will be running as a NIS client. The DHCP server will ask the DNS server to add this machine to a list of host names by using dynamic DNS facility [13]. The NisWeb system will access the DNS server to show a name list of all latest hosts that are connected to the laboratory network. server is running with the privilege of an ordinary user, it asks a NisWeb daemon to perform the processes that require the privilege of the system administrator (root). Java serialization mechanism is used in this communication. If its port number and the contents of the serialized objects are revealed, illegal accesses could be possible. Especially, if the NisWeb server and the NisWeb daemon are running on different machines, it might cause a serious problem for security. This problem should be solved by encrypted secure communication. 5 Evaluation Previously, the system administrator created accounts for new students by using administrative commands, and then the students needed to set their passwords. Occasionally, the created account names matched the user names that had been registered in our department. In such cases, the students had to change their account names, and the system administrator created their accounts again. As for the home directories of students, a NIS service had been used and a shared file system on a certain machine had been mounted for all students. Since a few years ago, the NisWeb system has been introduced. Students have been able to easily create their own accounts with this system. Therefore, as for creating and changing students accounts, the system administrator has nothing to do. In addition, as a home directory, students can easily mount not only the default shared file system but also their own file systems on their machines. This enables students to also use their machines in a stand-alone mode, and to easily demonstrate the software they are developing. It has been easier to administer the accounts in the laboratory because we can easily see who are studying in the laboratory and which student account belongs to which professor. Professors can easily remove the accounts of the students who have left their laboratories. There will be no garbage left in the laboratory network because not only their accounts but also their home directories, their mailing-list entries, and their mail spools will be automatically deleted. Every year, several foreign students come to the laboratory, and they also use this system without circumstance. 6 Conclusion We have developed a Web-based NisWeb system that cooperates with several servers to facilitate installing and connecting machines, and automate creating students accounts. This paper has presented an administrative method that makes a Web-based NisWeb server communicate a system daemon. Because the NisWeb References: [1] Jamie Cameron. Webmin. http://www.webmin.com/, 4 2007. [2] Ethan Galstad. Nagios. http://www.nagios.org/, 4 2007. [3] Chien-Liang Liu, Shian-Shyong Tseng, and Chang-Sheng Chen. Design and implementation of an intelligent dns management system. Expert Systems with Applications, Vol. 27, No. 2, pp. 223 236, 8 2004. [4] C.S. Chen, S.S. Tseng, C.L. Liu, and C.H. Ou. Design and implementation of an intelligent dns configuration system. In Fourth International Conference on Advanced Communication Technology, pp. 230 235, 2 2002. [5] Chang-Sheng Chen, Shian-Shyong Tseng, and Chien-Liang Liu. A unifying framework for intelligent dns management. International Journal of Human-Computer Studies, Vol. 58, No. 4, pp. 415 445, 4 2003. [6] Claire LaVelle and Almudena Konrad. Friendlyrobocopy: A gui to robocopy for computer forensic investigators. Digital Investigation, Vol. 4, No. 1, pp. 16 23, 3 2007. [7] Philip Turner. Applying a forensic approach to incident response, network investigation and system administration using digital evidence bags. Digital Investigation, Vol. 4, No. 1, pp. 30 35, 3 2007. [8] Takao Shimomura, Quan Liang Chen, Nhor Sok Lang, and Kenji Ikeda. Integrated laboratory network management system. In Proc. of the 7th WSEAS International Conference on Applied Informatics and Communications, pp. 188 193, 8 2007. ISSN: 1790-0832 1429 Issue 12, Volume 4, December 2007

[9] INFORMATION Takao Shimomura, SCIENCE & Kenji APPLICATIONS Ikeda, Quan Liang Chen, Nhor Sok Lang, and Muneo Takahashi. Rich component generation for web applications using custom tags. In Proc. of WSEAS International Conference on Computer Engineering and Applications, pp. 390 395, 1 2007. [10] Takao Shimomura, Kenji Ikeda, Quan Liang Chen, Nhor Sok Lang, and Takahashi Muneo. Visual programming for web applications that use html frame facilities. In Proc. of WSEAS International Conference on Computer Engineering and Applications, pp. 384 389, 1 2007. [11] Steven Holzner. Ajax Bible. John Wiley & Sons Inc., 4 2007. [12] Inc. Sun Microsystems. JavaPlatform Standard Edition 6. http://java.sun.com/javase/6/docs/api/, 2006. [13] Cricket Liu and Paul Albitz. Dns and Bind. Oreilly & Associates Inc., 8 2006. ISSN: 1790-0832 1430 Issue 12, Volume 4, December 2007