[Zope] Re: Configuration for VerboseSecurity

2006-08-29 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

michael nt milne wrote:
> thanks but
> 
> adding these two lines:
> 
> security-policy-implementation python
> verbose-security on
> 
> produces this error
> 
> \Program Files\Plone 2.1.3\Data\etc\zope.conf"
> Error: value did not match regular expression: 'ver
> ##

The file I attached *already* enables verbose security (see the third
and fourth lines).  That file *starts Zope* for me, without errors, on
the head of the 2.8 branch::


>> instancehome $INSTANCE
>> #debug-mode on
>> security-policy-implementation python
>> verbose-security on
>>
>> 
>>   level info
>>   
>> path $INSTANCE/log/event.log
>> level info
>>   
>> 
>>
>> 
>>   level WARN
>>   
>> path $INSTANCE/log/Z2.log
>> format %(message)s
>>   
>> 
>>
>> 
>>   # valid keys are "address" and "force-connection-close"
>>   address 8080
>>   # force-connection-close on
>> 
>>
>> 
>> # Main FileStorage database
>> 
>>   path $INSTANCE/var/Data.fs
>> 
>> mount-point /
>> 
>>
>> 
>> # Temporary storage database (for sessions)
>> 
>>   name temporary storage for sessioning
>> 
>> mount-point /temp_folder
>> container-class Products.TemporaryFolder.TemporaryContainer
>> 



Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE9LfE+gerLs4ltQ4RAnV6AJ9g/N6+xexLWJ5pBZ/nkU6qufFA0QCgo+U1
lMEyjOS8+3OU+0tUQQ8luVg=
=y8JY
-END PGP SIGNATURE-

___
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 )


[Zope] Re: Configuration for VerboseSecurity

2006-08-29 Thread michael nt milne

thanks but

adding these two lines:

security-policy-implementation python
verbose-security on

produces this error

\Program Files\Plone 2.1.3\Data\etc\zope.conf"
Error: value did not match regular expression: 'ver
##



>
>

$ cd ~/projects/Zope-CVS/Zope-2.8-branch
$ bin/mkzopeinstance.py -u /tmp/milne -u admin:123
$ cd /tmp/milne
$ vi etc/zope.conf # edit out comments, enable verbose-security
$ bin/zopectl fg
...
2006-08-29 16:39:52 INFO Zope Ready to handle requests
^C


I'm attaching the working zope.conf file.


Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE9KbV+gerLs4ltQ4RAoAjAKDC+TNjsdTkJgGrQRkUirJJXb6eBQCcDmT/
3UKFE1ZdYbPS8SfKmIP8ujE=
=hXvw
-END PGP SIGNATURE-


%define INSTANCE /tmp/milne
%define ZOPE /home/tseaver/projects/Zope-CVS/Zope-2.8-branch

instancehome $INSTANCE
#debug-mode on
security-policy-implementation python
verbose-security on


  level info
  
path $INSTANCE/log/event.log
level info
  



  level WARN
  
path $INSTANCE/log/Z2.log
format %(message)s
  



  # valid keys are "address" and "force-connection-close"
  address 8080
  # force-connection-close on



# Main FileStorage database

  path $INSTANCE/var/Data.fs

mount-point /



# Temporary storage database (for sessions)

  name temporary storage for sessioning

mount-point /temp_folder
container-class Products.TemporaryFolder.TemporaryContainer







--
michael
___
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 )


[Zope] Re: Configuration for VerboseSecurity

2006-08-29 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

michael nt milne wrote:
> Hi
> 
> I need some clarification on switching on VerboseSecurity and am
> following the instructions on this page
> 
> http://hathawaymix.org/Software/VerboseSecurity
> 
> This states this
> 
> "
> To enable verbose security in Zope 2.8.1+, just set the following
> options in zope.conf:
> 
> security-policy-implementation python
> verbose-security on
> 
> "
> 
> However on Zope 2.8.7, adding these two lines produces a start up
> error in Zope. The flag 'verbose-security' doesn't
> exist in zope.conf in the first place.
> 
> Any ideas appreciated.
> 
> 

$ cd ~/projects/Zope-CVS/Zope-2.8-branch
$ bin/mkzopeinstance.py -u /tmp/milne -u admin:123
$ cd /tmp/milne
$ vi etc/zope.conf # edit out comments, enable verbose-security
$ bin/zopectl fg
...
2006-08-29 16:39:52 INFO Zope Ready to handle requests
^C


I'm attaching the working zope.conf file.


Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE9KbV+gerLs4ltQ4RAoAjAKDC+TNjsdTkJgGrQRkUirJJXb6eBQCcDmT/
3UKFE1ZdYbPS8SfKmIP8ujE=
=hXvw
-END PGP SIGNATURE-
%define INSTANCE /tmp/milne
%define ZOPE /home/tseaver/projects/Zope-CVS/Zope-2.8-branch

instancehome $INSTANCE
#debug-mode on
security-policy-implementation python
verbose-security on


  level info
  
path $INSTANCE/log/event.log
level info
  



  level WARN
  
path $INSTANCE/log/Z2.log
format %(message)s
  



  # valid keys are "address" and "force-connection-close"
  address 8080
  # force-connection-close on



# Main FileStorage database

  path $INSTANCE/var/Data.fs

mount-point /



# Temporary storage database (for sessions)

  name temporary storage for sessioning

mount-point /temp_folder
container-class Products.TemporaryFolder.TemporaryContainer

___
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 )