Skip to content

A C program to mimic "delgroup" linux command

License

Notifications You must be signed in to change notification settings

PAVAN864/delgroup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

delgroup

  • 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

##Instructions to execute the Program:

  1. Clone this repository
git clone https://github.com/Abhishek4848/delgroup.git
  1. The two files as mentioned in the question should be present in a folder and change the path to the file accordingly prior to execution.
  2. Executing the program
    Windows
mingw32-make -f makefile.mk
```<br/>
Linux<br />

make -f makefile.mk

4. hen "./a.exe" or "./a.out" depending on OS to run the program
5. After compilation type "delgroup groupname" to execute the program successfully.

About

A C program to mimic "delgroup" linux command

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.1%
  • Makefile 4.9%