Hi,
I have a new project that needs to add users to the linux system. They have to have a user name and password assigned.
I know I can use the
exec('adduser test -p password');
Now that should add a user test with the password password.
But when I run my ftp program and try to use the user name and password it won't work.
If I execute the same in linux command but with just
adduser test
passwd test
it will work. Aren't these two commands the same?
Thanks for the help. or if someone has a better whay to do it I would love to know.
scandog