Hi,
I have been tasked with the job of creating a web based system to add system users to our Ubuntu linux server. I have been reading up online, and there seems to be a fair few different ways to go about doing it, none of which really have examples.
I understand the best way for me to do it would be to temporary give sudo to the apache user while adding the user and then remove it straight away with the sudo -k command.
I am unable to use any of the normal server admin interfaces as this is built in to a pre existing web admin panel. I am not massively experienced shell programmer too.
If anyone has got any links to good articles about scripting from PHP I would also be interested in reading.
Thanks In Advance