[Zope] emergency access problems

michael nt milne michael.milne at gmail.com
Fri Sep 30 12:20:14 EDT 2005


Thanks. I sorted it out using ./zopectl adduser.

On 9/30/05, Chris Withers <chris at simplistix.co.uk> wrote:
>
> michael nt milne wrote:
> > Anyway I've followed all the instructions in security.txt, telnetting
>
> stop right there... you should be using ssh...
>
> > in as
> > the user that made the zopeinstance and running
> > python zpasswd.py access
> > using SHA-1 and then entering nothing for domains ( I presumed that this
> > would give access for all domains etc)
>
> correct.
>
> > I then get an access denied message on running this and the access file
> is
> > not created.
>
> well, maybe you could show us the error rather than not quite giving us
> enough information to be able to help you ;-)
>
> guesses:
>
> - your user didn't have permission to read or maybe execute python or
> zpasswd.py
>
> - your user didn't have permissions to write to the directory where you
> were trying to create the access file.
>
> > Yes, the access file was being created in the homeinstance.
>
> But yet you said above it wasn't created a all?!
>
> > One thing I
> > didn't do was run the zpasswd.py file when zope was stopped though,
> as I did
> > with ./zopectl
>
> zope doesn't need to be stopped, but it does need to be restarted once
> the access file has been created...
>
> that said, if you want zopectl to let you do things without stopping
> Zope, just get a ZEO setup up and running...
>
> cheers,
>
> Chris
>
> --
> Simplistix - Content Management, Zope & Python Consulting
> - http://www.simplistix.co.uk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20050930/e9fdb124/attachment.htm


More information about the Zope mailing list