Write a program in C to mimic the “delgroup” command on Linux. This command will delete a group. It has to handle 2 files “group” and “gshadow”. Both these files will be in some folder specified by an environment variable PFILE. The program has to take all arguments as command line arguments. Program has to delete all references to this group in the files group and shadow.
Copy these from any linux system into another folder and then execute your program.The only argument to be taken is the name of the group being deleted.
1
Expert's answer
2020-05-25T16:33:22-0400
Dear Aditya, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment