[Zope] Add Zope Users from Shell

Tino Wildenhain tino at wildenhain.de
Thu Jan 29 07:09:39 EST 2004


Hi Axel,

axel kittenberger schrieb:
> Hello!
> 
> Ist there any way to add new Zope Users from the Shell apart from the 
> adminstrator emergency user?
> 
> The ultimate goal is to have the Zope Users identical with the System Users, 
> meaning when the admin adds a new user through the webmin admin-tool I want 
> it to also add a Zope user automatically (for use of the plone Portal).  Not 
> to have the admin have to add the user twice, organistional it's very likely 
> that this will not work out in the long run.
> 
> Is it possible at least to add the new users password in encoded format, 
> meaning to copy/paste the coded password form /etc/passwords into Zope?
> 
> Since the Zope add users page inside the webspace, is a python scripty, 
> wouldn't it also be possible to execute a command line python script, to 
> add/delete users?

Its possible, but you are probably better off using another
User-folder. There are some (for example ExUserFolder)
which are capable of just using for example pam or
plain unix authorization. LDAP and Co. or relational
databases are also en option. Just browse product
download folder on zope.org for some hints.

Regards
Tino Wildenhain




More information about the Zope mailing list