Hello:

samit  pal wrote,
> We r developing a php based appl. here we have to change the linux
> user passwd thru php.  Later we also will have to create,delete,modify
> users thru php. I have tried with sid shell scripts.  But i believe
> linux doesn't allow sid scripts. I have tried with c binary where i
> tried to call the passwd command root can change user passwd command
> line) thru system() func and got stuck again. I have heard about exec
> family of func. Will it solve the problem. 

Why not use "sudo" for executing system commands with root privs?

-- Shanu

-- 
"Pardon me for breathing, which I never do anyway so I don't know why I bother
 to say it, oh God, I'm so depressed.  Here's another of those self-satisfied
 doors.  Life!  Don't talk to me about life."
-- Marvin the Paranoid Android

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to