You have been asked by your boss to set up 100 user accounts for your SLES9 Linux server. Each user account should have the following details:
Login name: userxx
Password: p@Ssxx
UID: 1900+xx
GID: 747 (name of group is IMFDelegates)
Informational name: “Secret Agent xx”
Home directory: /home/agentxx
Login shell: /bin/sh
For example, the first user will have the following details:
Login name: user00
Password: p@Ss00
UID: 1900
GID: 747
Informational name: “Secret Agent 00”
Home directory: /home/agent00
Login shell: /bin/sh
And for example, the last user will have the following details:
Login name: user99
Password: p@Ss99
UID: 1999
GID: 747
Informational name: “Secret Agent 99”
Home directory: /home/agent99
Login shell: /bin/sh
Note: You will need to create a shell script to automate this task. You can make use of the groupadd and useradd scripts inside your shell script. You can also use the mkpass command to create the encrypted passwords.
Would like to have some pointers from the experts here on creating the script, and at the same time showing me source codes of creating the scripts as mentioned above. Thank You!
Lastly i would lke to know thea meaning of UID and GID? Not forgettiing the examples of these 2.

)