July 1, 2024, 3:18 p.m. | Alvin Ndungu

DEV Community dev.to




Overview


Description This bash script automates the process of creating multiple users and groups on a Linux system. It reads user data from an input file (either .txt or .csv), creates users with their personal groups, assigns additional groups, sets random passwords, and logs all actions. This is a project from HNG [https://hng.tech/internship] or [https://hng.tech.hire] I was able to learn and relearn many concepts form bash scripting





Features



  • Reads user data from .txt (semicolon-delimited) or .csv …

access actions auditing bash bash scripting csv data features files generated handling linux linux system log logs management password passwords personal random root scripting shell stores sudo system txt user data user management

Information Assurance Engineer

@ Leidos | 6314 Remote/Teleworker US

SQL Database Admin - INT

@ General Dynamics Information Technology | USA AZ Fort Huachuca - 2133 Cushing St, Bldg 61801 (AZC012)

Network Engineer - Lead

@ QBE LLC | Arlington, VA, US

Cloud Managed Services Engineer

@ Versa Networks | Switzerland

Software Engineer - Microsoft Entra ID

@ BT Group | Snowhill, Birmingham, United Kingdom

Security Cloud Solution Architecture Manager

@ Microsoft | Issy Les Moulineaux, Hauts-de-Seine, France