| help in creating adduser script.. hello everyone~!!.. i'm a real noob in linux and C++ and was hoping anyone could help me in creating a adduser scripting using C++ in linux.. i just need to know how can i start the script only and the rest i will try to learn through myself hope someone can help me thx !!
the script needed to write into 3 dummy files :
/etc/passwd
/etc/shadow
/etc/group
and may i noe what does this mean??
-P to specify the name of the password file to update.
-S to specify the name of the shadow file to update.
-G to specify the group file to consult.
hope any kind soul can help me thx |