Hi...
I need to change the user's passwd from inside a C program.The execv function seems to be the only way to execute linux commands from inside the program.however running passwd (using execv) is not working.I suppose this is because we cannot specify the arguments on the command line for the password command.Other commands work fine.
Any way out?
Thanks for all help in advance.