[Zope] Re: useradd command in Zope
Josef Meile
jmeile at hotmail.com
Mon Nov 7 16:50:57 EST 2005
> 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
groups.
> 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.
Regards,
Josef
More information about the Zope
mailing list