How to add a nes user using PHP on linux?
a function or what ?
How to add a nes user using PHP on linux?
a function or what ?
What are you trying to do? add a user for your site to a database? add an actual user login for your system?
Ya,add an actual user login for my system.
And, give PHP a pair of USER_ID & USER_PASSWORD to generate an account.
But I can't find any system function to "adduser()" in PHP.
I think there's a system() function where you can add users.
try something like:
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>
system("adduser loginname -g groupname");
[/code]
I'm kinda new so if I'm dead wrong, feel free to tell me people.
ReNeGaDe
What about changing the user password?
On Redhat linux, the command "passwd user" is interactive, so how can you pass data to and from the command with system() or exec()?
Any other solution maybe in perl?