Hi Guys:
Can anyone help me get a CGI script using bash to add users to the system, CentOS 5.0 ..
I usually do this with regular bash and dialog scripts , but I wanted to add some Web interface to the script, like using html forms, I have failed mostly when excuting commands like /usr/sbin/useradd...etc
mostly erros are you dont have privilge , I tried to Sudo the apache user , still I get sudo requires shell, I gave the apache user /bin/bash in his /etc/passwd and still the same.
Anyway any proposed script would be highly appreciated as long as it is pure html and bash, Thanks
p.s: please only bash no perl as I know nothing about perl.
Best Regards
Start Free Trial