hii,
i am having the following problem.I am new to php.What i would like to
do is to create linux user account programmatically through PHP.For that I
try to execute the Linux shell command useradd <username> <group> etc.
through the
system()/exec() function in PHP.First of all I was getting 'permission
denied' message in the error.log file under /var/log/httpd/.next i try to
login as superuser using command
system("su -c 'useradd sonia -g users -d /home/sonia -p sonpwd sonia'")
Now in the error.log file i am getting message "standard in must be a tty."
and nothing is happening.I am unable to figure out wht does this mean.So if
anybody can help me out,it will be of greatly appreciated.I am totally
stuck in this job.
If anybody knows any other way to create linux user account in PHP ,thats
also welcom.Please help.
Thanking you
Arnab Sengupta
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help