|
How to create a new unix user in through a c program
Hi ,
I want to create a new user using c program not with unix adduser command .
is it possible to write a cprogram to create a new user account , it should accept username , grouid , group name and all other privilages .
i can use system calls inside c program to do this .
i will execute it in a super user mode .
Many thanks in advance !
Naren
|