Description:
Script which allows my NOC to perform basic user maintenance and incorporates basic security features.
Script will need tweaked for each application and security evaluated for each usage.
What works good for me is the small NOC which monitors my systems for alarms access a PuTTY session via Citrix which calls this script.
The individual supply's the SSH key pass code and if authenticated the script launches and the user has privileges to perform each action in the script.
If the authentication fails the PuTTY session dies. The script can be cleaned up but as it is can be easily understood.