hi,
i'm trying to use some program execution function (i'm not sure which is best) to add a new user to my virtual server. From a telnet session, the command looks something like this:
vadduser
What type of account do you wish to add?
1) Email Only
2) Email and FTP Access
3) Email, FTP and Shell Access
Please select an account type [1-3]: 1
Please select a user name: mynewuser
Please enter the User's Fullname: New User
Username: mynewuser
Fullname: New User
Home Directory: /usr/home/mynewuser
Account Type: Email Only
Samba Access: NO
Is this correct? (y/n) [y]: Y
Changing local password for mynewuser.
New password:
Retype new password:
vpasswd: updating the database...
vpasswd: done
how would i implement this in php?
thanks for any help you can provide,
`jake