Results 1 to 2 of 2
* add a group of users from an input file * generate a report *provide help when users enter wrong or incomplete commands 1. the script can only be executed ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-06-2011 #1
- Join Date
- Aug 2011
shell script need help asap
* generate a report
*provide help when users enter wrong or incomplete commands
1. the script can only be executed bu root user, admin or user with admin rights
2.if the root user starts the program as specified , it should read the input file and check the new users information one by one. If the new users information is valid, it should create the account for the user and write the account information to report file. The report should have the following format
3if the new user informantion is not valid the account will not be created and an error report should be writtern to a error report file .
4.if the root user executes the script incorrect for example with the invalid parameters is should provide appropriate help.eg show the current usage of command
5.if root user executes the command with the -h switch the program should give detailed information about the program and the file structure
6.input file structure should be Usernameassword:groupname:fullname
- 08-06-2011 #2
Hi and welcome.
Sorry. The forum rules say, that homework questions will not be answeredYou must always face the curtain with a bow.