Page 1 of 1

creating new linux account with PHP functions

Posted: Mon Dec 06, 2004 4:09 am
by bouboul
hello,

i would like to know if is there any way to create a linux user account with PHP functions?

thanx

Posted: Mon Dec 06, 2004 7:40 am
by kettle_drum

Code: Select all

exec('useradd -g bouboul bouboul');

Posted: Mon Dec 06, 2004 7:44 am
by protokol
This is assuming that the correct permissions are set.