Skip to content

A minimal implementation of adduser command in Linux as part of the Computer Security course at NIT Calicut

Notifications You must be signed in to change notification settings

afeedhshaji/minimal-adduser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c4e1c34 · Apr 14, 2021

History

5 Commits
Apr 14, 2021
Apr 14, 2021

Repository files navigation

DESCRIPTION
------------
A user interactive minimal implementation of the adduser/useradd command in linux written
as part of the Computer Security course at NIT Calicut. It basically prompts for a username
and password and creates the shadow type password hash and adds the userinfo to the /etc/passwd 
and the hashed password to the /etc/shadow file. 


USAGE
------
** Warning : The script can only be run as a root user. Use at your own risk! **

Run this command in a root shell
- wget https://raw.githubusercontent.com/afeedh/minimal-adduser/master/adduser.sh && chmod +x adduser.sh && bash adduser.sh

About

A minimal implementation of adduser command in Linux as part of the Computer Security course at NIT Calicut

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages