ajit mote wrote:
command="/usr/sbin/adduser -p "+password+" "+ userName
return os.system(command)

You are going to get yourself into a world of pain.

os.system isn't the right thing to use here due to its lack of output redirection.

Calling adduser like that is a really big hole in your system's security.

Adding in sudo in there will make it even worse ;-)

Seriously, I don't mean this is a nasty way, but you have neither the skill not the experience to attempt the development of the application you are trying to develop. Give up, or pay someone who knows better to do it for you :-S

Chris

--
Simplistix - Content Management, Zope & Python Consulting
           - http://www.simplistix.co.uk
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to