PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
bouboul
Forum Commoner
Posts: 28 Joined: Sat Oct 25, 2003 4:08 am
Post
by bouboul » Mon Dec 06, 2004 4:09 am
hello,
i would like to know if is there any way to create a linux user account with PHP functions?
thanx
kettle_drum
DevNet Resident
Posts: 1150 Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England
Post
by kettle_drum » Mon Dec 06, 2004 7:40 am
Code: Select all
exec('useradd -g bouboul bouboul');
protokol
Forum Contributor
Posts: 353 Joined: Fri Jun 21, 2002 7:00 pm
Location: Cleveland, OH
Contact:
Post
by protokol » Mon Dec 06, 2004 7:44 am
This is assuming that the correct permissions are set.