Automated Creation of Local User Accounts Using Python Scripting
Student: Idris Idris Adam (Project, 2025)
Department of Cyber Security
Bayero University, Kano, Kano State
Abstract
The project aims to automate the creation of a local user account and assign specific permissions using a Python scripting language. The script is designed to provide a convenient and efficient way to create user accounts with customized permissions, eliminating the need for manual configuration. The project incorporates password hashing and hiding techniques to ensure the security of user credentials. Additionally, the script includes functionality to assign permissions to specific directories, allowing fine-grained control over access rights. The system requirements for running the script include a Windows operating system and ‘local’ administrative privileges. The script utilizes OS command-line tools such as ‘net user’ and ‘icacls’ to create user accounts and assign permissions. Error handling mechanisms are implemented to handle potential exceptions during the account creation and permission assignment process. The project follows a systematic methodology, including a detailed system design and implementation phase. The script is designed with a user-friendly interface, prompting the user for necessary inputs such as username, password, and folder paths. The created user accounts and assigned permissions are logged for record-keeping purposes. Through the implementation and testing phase, the script has demonstrated its effectiveness in automating the user account creation process and assigning desired permissions. The password hashing and hiding mechanisms ensure the confidentiality of user passwords. The ability to assign permissions to specific directories allows for granular control over access rights, enhancing security and data protection.
Keywords
For the full publication, please contact the author directly at: idressa78@gmail.com
Filters
Institutions
- Al-Hikmah University, Ilorin, Kwara State 2
- AL-ISTIQAMAH UNIVERSITY, SUMAILA, KANO STATE 1
- Al-Qalam University, Katsina, Katsina State 5
- Alex Ekwueme Federal University, Ndufu-Alike, Ebonyi State 87
- Alvan Ikoku College of Education, Imo State, (Affl To Univ of Nigera, Nsukka) 11
- Ambrose Alli University, Ekpoma, Edo State 478
- Anambra State College of Health Technology, Obosi, Anambra State 1
- Auchi Polytechnic, Auchi, Edo State 501
- Auchi Polytechnic, Auchi, Edo State. (affl To Nnamdi Azikiwe University, Awka) 3
- Audu Bako College of Agriculture Danbatta, Kano, Kano State 54