>     su zope (or whoever your zope runs)
>     ./yourmethod.py someuser somepass
>     You will see it fail (apart from the fact you need
>     the #!/path/to/python.bin and set the execution bit
>     with chmod a+x before you try)
>  >   i tried using another user outside of zope .....
>      working very well(adding user to system)....
Perhaps the other user is either root or it belongs to the root's

>      owner of external method is root and set_user_id bit is set.....
>      but problem is when i run attached app it is not adding user ....
set_user_id only works with C binary files. So, here you have to use
sudo as suggested.


Zope maillist  -  Zope@zope.org
**   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