system admin tool

In systems that offer many user services, it is common to have password files associated with each service. Your task is to develop a system administration tool (called passwdmgr) that will allow users to update all their passwords.

Essentially you need to write a perl program, that performs several functions. Each function is determined by a command line switch. Each function is defined below:


adds a user to the database file called passwd. With the -a switch the program accepts a user-id and then prompts for a password, and a conformation. The username and password are then added to the passwd file. An excerpt from the passwd file looks like this:

<user-id>:<encrypted password>

A typical session looks like this:

% passwdmgr -a mbhattac

Adding user mbhattac

Enter password: <text not echoed to screen>

Re-enter password: <text not echoed to screen>

Passwords match. User added to file.


updates a user's password. The -u switch accepts a user-id and prompts for a new password. This function then scans other password files and updates any password fields associated with that user-id. Sample password files will be provided via the forum; however, you may use other mock password files.

A typical session looks like this:

% passwdmgr -u mbhattac

Updating mbhattac

Enter current password:

Enter new password:

Re-enter new password:

Passwords match. Passwd file updated.

smbpasswd: user-id found, updated.

yppasswd: user-id not found.

httppasswd: user-id found, updated.


delete user. The -d switch removes a user from the passwd file. A typical session with the -d switch is given below:

% passwdmgr -d mbhattac

Deleting mbhattac. Passwd file updated.


help. This function should print a useful help message to the screen on how to use this utility, and detail the purpose and function of each switch.

Bonus marks (only if total score is less than full marks) will be given for programs that complete one or more of the following:

test passwords for common words;

offer the user randomly generated passwords; and

email the system administrator (you), every time a failed update occurs.

Assessment criteria

You need to submit a copy of the source code (that is fully documented) and a sample output from the programs execution that demonstrates the programs functionality. The following criteria will form the basis of allocation of marks for this task:

demonstration of content knowledge; (Value: 30%)

the completeness of your program; (Value: 30%)

documentation; (Value:20%)

quality of codes; (Value: 20%)

Taidot: Perl

Näytä lisää: system one services, system one, re write tool, purpose of forum, purpose of a forum, it systems administrator, IT System Administrator, delete tool, c# programs with output, copy write email message, common current, bonus codes, perl passwdmgr, perl script passwdmgr, mbhattac perl, rapidshare premium username password, Task management, test execution, print knowledge, database administration services, value added service, tool, task allocation, system test, system administrator

About the Employer:
( 0 reviews ) London, United Kingdom

Projektin tunnus: #438906

1 freelanceria on tarjonnut keskimäärin 200 $ tähän työhön


I am interested to your project. I am a Web Developer with extensive experience PERL (CGI), MySQL, DHTML, CSS, and JavaScript, AJAX, JSON, JQuery I have 8 years of experience in software design and development web-ba Lisää

200 $ USD 3 päivässä
(0 arvostelua)