|
-
April 4th, 2001, 12:38 AM
#1
Changing password using execv
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.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|