- Program in C to mimic the “delgroup” command on Linux. This command will delete a group.
- It handles 2 files “gshadow” and “group”. Both these files are in some folder specified by an environment variable PFILE.
- The program takes all arguments as command line arguments
- Clone this repository
git clone https://github.com/Abhishek4848/delgroup.git
- Change directory to the program folder
git cd delgroup
- Executing the program
Windows
mingw32-make -f makefile.mk
make -f makefile.mk
- hen "./a.exe" or "./a.out" depending on OS to run the program
- After compilation type "delgroup groupname" to execute the program successfully.