Re: [Mailman-Users] Passwords of members UPDATE

2003-01-22 Thread Steve Rifkin
But, the python commands you want me to try DO work (and mailman still yields 
the same errors from my previous e-mail):

# python -V
Python 2.2.2
# python
Python 2.2.2 (#1, Jan  9 2003, 16:24:27) 
[GCC 2.95.2 19991024 (release)] on sunos5
Type help, copyright, credits or license for more information.
 import time
 time.__file__
'/usr/local/lib/python2.2/lib-dynload/time.so'


So, what should I try next?  (BTW, thanks for your help!  :)

Steve Rifkin
[EMAIL PROTECTED]



 The second issue you had (no module name time) looks like your
 Python installation is broken.  You should be able to do something
 like the following at the command line:
 
 % python
 Python 2.2.2 (#1, Oct 14 2002, 19:51:36) 
 [GCC 2.96 2731 (Red Hat Linux 7.3 2.96-112)] on linux2
 Type help, copyright, credits or license for more information.
  import time
  time.__file__
 '/usr/local/lib/python2.2/lib-dynload/time.so'



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] Passwords of members UPDATE

2003-01-19 Thread Barry A. Warsaw

Steve,

You're first problem looks like a classic permission denied
problem.  I'd suggest running bin/check_perms to see if that clears up
your problems.

The second issue you had (no module name time) looks like your
Python installation is broken.  You should be able to do something
like the following at the command line:

% python
Python 2.2.2 (#1, Oct 14 2002, 19:51:36) 
[GCC 2.96 2731 (Red Hat Linux 7.3 2.96-112)] on linux2
Type help, copyright, credits or license for more information.
 import time
 time.__file__
'/usr/local/lib/python2.2/lib-dynload/time.so'

If not, go back to your Python source dir, and run make test.  Check
your compilation output carefully.

Mailman 2.1 should work with Python 2.1.3 or later.
-Barry

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] Passwords of members UPDATE

2003-01-09 Thread Barry A. Warsaw

 SR == Steve Rifkin [EMAIL PROTECTED] writes:

SR OK, I upgraded to MM2.1.  After having to run check_perms with
SR -f to fix permissions, I finally got the web pages up.

SR When I go in as site admin and change the list admin's
SR password for a list, I *still* cannot log in as the list
SR admin.  (I still receive the authentication error).

SR And if I go back into the password change page for the list as
SR the site admin, and if I put in a new list admin password and
SR have a *different* verified password, I receive no errors when
SR I click submit.


SR However, if I run change_pw from the command line, changing
SR the password for the list admin for the specific list, them, I
SR CAN log in!  :)

SR So, it's the web interface that's screwing up.  We're
SR narrowing this one down now... I hope!  Any suggestions?

Do you have any cookie blockers or other proxies between your browser
and the web server?  That's about the only thing I can think of.

-Barry

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] Passwords of members UPDATE

2003-01-09 Thread Steve Rifkin
I recently installed mailman 2.1 (upgrading over our mailman 2.13) to correct a 
problem with list admin passwords.

At the time of the upgrade, I was running python 2.1

Today I finally ran genaliases to modify the old mm list aliases for the new 
mailman.

With the aliases in place, I sent e-mail to one of my lists... newlist.

Instead of the message going through, I get back the following from the 
mailer-daemon:

  - The following addresses had permanent fatal errors -
|/users/rtfm/mailman/mail/mailman post newtest
(reason: 1)
(expanded from: newtest@cs)

   - Transcript of session follows -
Traceback (most recent call last):
  File /users/rtfm/mailman/scripts/post, line 69, in ?
main()
  File /users/rtfm/mailman/scripts/post, line 64, in main
tolist=1, _plaintext=1)
  File /users/rtfm/mailman/Mailman/Queue/Switchboard.py, line 119, in enqueue
msgfp = open(msgfile, 'w')
IOError: [Errno 13] Permission denied: 
'/users/rtfm/mailman/qfiles/in/1042138477.3629709+2b891898799d3290ae81d057bdd6e8
2a56ffe112.msg'
554 5.3.0 unknown mailer error 1

=

What is causing the above?

OK, so I figure, since I was running python 2.1, maybe mailman 2.1 would rather 
me run python 2.2.2.

I then installed python 2.2.2.  Directly afterwards, I rebuilt (make clean, 
configure, make, make install) mailman 2.1 again, and then, ran check_perms (and 
corrected anything that needed correcting so that check_perms now comes back 
clean.

Now, when I start to run the scripts/mailman script to startup mailmanctl, I 
immediately get lots of messages that look like this:

# ./mailman start
cs:/users/rtfm/mailman/scripts:{153} Traceback (most recent call last):
  File /users/rtfm/mailman/bin/qrunner, line 77, in ?
from Mailman.i18n import _
  File /users/rtfm/mailman/Mailman/i18n.py, line 18, in ?
import time
ImportError: No module named time
Traceback (most recent call last):
  File /users/rtfm/mailman/bin/qrunner, line 77, in ?
from Mailman.i18n import _
  File /users/rtfm/mailman/Mailman/i18n.py, line 18, in ?
import time
ImportError: No module named time
Traceback (most recent call last):



I get the above messages continuously.  What's happening here?

Mind you, when I had python 2.1 installed, I had no problem running mailmanctl 
(except that mail sent to lists would yield the message near the top of this 
e-mail.  With python2.2.2 installed, I can't even get mailmanctl to run 
properly... or rather, whatever it's running is giving me the errors directly 
above.

And remember, *after* I installed python 2.2.2, I *rebuilt* mailman.

So, what should I do here?

If python's an issue, I'll go back to python 2.1 and hope someone here can help 
me fix the problem with the mailer-daemon message.  At least python 2.1, I could 
run the mailman startup script.

(Note, the machine mailman is built on is Solaris 2.8.

Thanks in advance!

Steve Rifkin
[EMAIL PROTECTED]






--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/



Re: [Mailman-Users] Passwords of members UPDATE

2003-01-06 Thread Steve Rifkin

 A better solution would be to upgrade to MM2.1.  It uses sha1 hashing,
 which will always be available.


OK, I upgraded to MM2.1.  After having to run check_perms with -f to fix 
permissions, I finally got the web pages up.

When I go in as site admin and change the list admin's password for a list, I 
*still* cannot log in as the list admin.  (I still receive the authentication 
error).

And if I go back into the password change page for the list as the site admin, 
and if I put in a new list admin password and have a *different* verified 
password, I receive no errors when I click submit.


However, if I run change_pw from the command line, changing the password for 
the list admin for the specific list, them, I CAN log in!  :)

So, it's the web interface that's screwing up.  We're narrowing this one down 
now... I hope!  Any suggestions?

Steve Rifkin
[EMAIL PROTECTED]



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] Passwords of members UPDATE

2003-01-03 Thread Steve Rifkin

 
 What are you using for Password authentication on your system?  Are you
 using PAMs?  What does your /etc/nsswitch.conf file look like (are you
 using NIS)?

NIS is used, but the mailman user account info is local to the web server.  
Mailman's home directory, though, is shared between the web server and the mail 
server.

Some nsswitch.conf entries:

passwd: compat
group:  files nis
hosts:  dns nis [NOTFOUND=return] files
netgroup:   nis
automount:  files nis
aliases:files nis

But again, I never had the list-admin authentication problem until I upgraded 
the Apache server.  Whether the mailman list config databases before the apache 
upgrade had the nobody user set, I do not know.  What could have changed from 
doing the apache upgrade?  The user that CGI scripts get run by?  Our 
cgi-scripts are working ok.

Steve Rifkin
[EMAIL PROTECTED]


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] Passwords of members UPDATE

2003-01-03 Thread Steve Rifkin
Just did another reinstall of 2.0.13.  Again, installed with no problems. 
Check_perm ran fine... again

And, the list ownerships for the config.db file for my test list is:

-rw-rw   1 mailman  mailman  3169 Jan 03 11:57 config.db

(owned and group-owned by mailman)


Then, I log into the list as the site admin, and change the lists's admin's 
password.

When I do, the config.db file now has these attributes:

-rw-rw   1 nobody   mailman  3169 Jan 03 14:35 config.db

Yes, nobody has replaced mailman as owner again

And the list admin gets an authentication error trying to log in to its list.

If, as site admin, I once again change the list admin's pwd (this time to a 
longer password, so that hopefully, config.db would change size) and log out, 
the config.db file remains the same size with the updated timestamp.

-rw-rw   1 nobody   mailman  3169 Jan 03 14:36 config.db

Still owned by nobody!  (yet, still group-owned by mailman)

And still not allowing list admin's to log in... onl log in... only site admin and 
users can log in.  (and this happens to all of 
our lists).

Running check_perms again (now that nobody is the owner and mailman is the 
group owner of the config.db files), I still receive No problems found

Since the only signs of error are 1) the Authentication failed error for the 
list admins, and 2) config.db doesn't looks as if it is updated [comparing the 
size of the of current and previous config.db files]...
...is there any way to do a trace of what is happening?  Can python be used for 
this?

It's almost as if the list admin password being changed by the site admin never 
really updates the config.db file.

Oh, I even tried the setup using the mailman group consisting of mailman and 
nobody.

Steve Rifkin
[EMAIL PROTECTED]


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] Passwords of members UPDATE

2003-01-03 Thread Barry A. Warsaw

The ownership issue is a red-herring.  As long as it's group owned by
mailman and it's g+rw you should be fine.

I'm guessing somewhere along the way Python got upgraded and the
status of the crypt libraries changed (either they were there before
and not now, or vice versa).  Try setting USE_CRYPT=0 in your
mm_cfg.py file.

A better solution would be to upgrade to MM2.1.  It uses sha1 hashing,
which will always be available.

BTW, a debugging tool I use quite often (or the Python literate here),
is to sprinkle the code with lines like:

syslog('debug', 'some value: %s', somevalue)

which puts the output in errors/debug.  You may need to add

from Mailman.Logging.Syslog import syslog

at the top of the file, if it isn't already there.
-Barry

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] Passwords of members UPDATE

2002-12-27 Thread Steve Rifkin
Going an extra step, I compiled python 2.2.2 and put it in place.

I then rebuilt mailman (based on the new python).  Again, mailman works EXCEPT 
FOR list admin passwords.

I'm running out of options.  I'm now at python 2.2.2 and mailman 2.0.13, and my 
list admins cannot log in, but the site admin and users can.

When the site admin changes the list admin password for a list, should there be 
a confirmation of the change AFTER submit is clicked?

WHOA!  Here is something weird... all my mailman files are owned by user mailman 
and group mailman. 

At the list level, for a test list (mmtest), the dir looks like:

-rw-rw   1 mailman  mailman  3082 Dec 27 11:48 config.db
-rw-rw   1 mailman  mailman  3082 Dec 27 11:47 config.db.last
-rw-rw-r--   1 mailman  mailman   869 Dec 26 16:57 request.db
-rw-rw-r--   1 mailman  mailman   189 Jan 30  2002 handle_opts.html
-rw-rw-r--   1 mailman  mailman  1026 Jan 30  2002 headfoot.html
-rw-rw-r--   1 mailman  mailman  3136 Jan 30  2002 listinfo.html
-rw-rw-r--   1 mailman  mailman  4106 Jan 30  2002 options.html
-rw-rw-r--   1 mailman  mailman  1169 Jan 30  2002 roster.html
-rw-rw-r--   1 mailman  mailman   198 Jan 30  2002 subscribe.html
-rw-rw-r--   1 mailman  mailman  1706 Jan 30  2002 admindbpreamble.html


 That's ok.  HOWEVER, whenever I log into a list or try to make changes to a 
list as the site admin, the ownership changes for config.db:
 
 -rw-rw   1 nobody   mailman  3082 Dec 27 11:50 config.db
-rw-rw   1 mailman  mailman  3082 Dec 27 11:48 config.db.last
-rw-rw-r--   1 mailman  mailman   869 Dec 26 16:57 request.db
-rw-rw-r--   1 mailman  mailman   189 Jan 30  2002 handle_opts.html
-rw-rw-r--   1 mailman  mailman  1026 Jan 30  2002 headfoot.html
-rw-rw-r--   1 mailman  mailman  3136 Jan 30  2002 listinfo.html
-rw-rw-r--   1 mailman  mailman  4106 Jan 30  2002 options.html
-rw-rw-r--   1 mailman  mailman  1169 Jan 30  2002 roster.html
-rw-rw-r--   1 mailman  mailman   198 Jan 30  2002 subscribe.html
-rw-rw-r--   1 mailman  mailman  1706 Jan 30  2002 admindbpreamble.html


And the filesize for config.db does not change.  I suspect that the config.db 
file is not changing at all when I attempt changes logged in as the site admin.

The only change to the file is config.db's ownership keeps changing to nobody!

Why?

Maybe the above is a clue to the problem!

Any thoughts?

Steve
[EMAIL PROTECTED]



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] Passwords of members UPDATE

2002-12-27 Thread Steve Rifkin
Oh, I should also add that, as user mailman, when I run:

bin/check_perms

I get:

No problems found


Steve


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] Passwords of members UPDATE

2002-12-27 Thread Jon Carnes
Catching up on a few of your messages...

I'm betting that your Web-server runs as user nobody, so changes via the
web to the list config may end-up as being owned by nobody.

Shouldn't you have the sticky bit set for the group on all those
directories and files (if the check came back okay then it must be
correct - sorry).

What are you using for Password authentication on your system?  Are you
using PAMs?  What does your /etc/nsswitch.conf file look like (are you
using NIS)?

What happens when you run the site password program?

On Fri, 2002-12-27 at 11:57, Steve Rifkin wrote:
 Going an extra step, I compiled python 2.2.2 and put it in place.
 
 I then rebuilt mailman (based on the new python).  Again, mailman works EXCEPT 
 FOR list admin passwords.
 
 I'm running out of options.  I'm now at python 2.2.2 and mailman 2.0.13, and my 
 list admins cannot log in, but the site admin and users can.
 
 When the site admin changes the list admin password for a list, should there be 
 a confirmation of the change AFTER submit is clicked?
 
 WHOA!  Here is something weird... all my mailman files are owned by user mailman 
 and group mailman. 
 
 At the list level, for a test list (mmtest), the dir looks like:
 
 -rw-rw   1 mailman  mailman  3082 Dec 27 11:48 config.db
 -rw-rw   1 mailman  mailman  3082 Dec 27 11:47 config.db.last
 -rw-rw-r--   1 mailman  mailman   869 Dec 26 16:57 request.db
 -rw-rw-r--   1 mailman  mailman   189 Jan 30  2002 handle_opts.html
 -rw-rw-r--   1 mailman  mailman  1026 Jan 30  2002 headfoot.html
 -rw-rw-r--   1 mailman  mailman  3136 Jan 30  2002 listinfo.html
 -rw-rw-r--   1 mailman  mailman  4106 Jan 30  2002 options.html
 -rw-rw-r--   1 mailman  mailman  1169 Jan 30  2002 roster.html
 -rw-rw-r--   1 mailman  mailman   198 Jan 30  2002 subscribe.html
 -rw-rw-r--   1 mailman  mailman  1706 Jan 30  2002 admindbpreamble.html
 
 
  That's ok.  HOWEVER, whenever I log into a list or try to make changes to a 
 list as the site admin, the ownership changes for config.db:
  
  -rw-rw   1 nobody   mailman  3082 Dec 27 11:50 config.db
 -rw-rw   1 mailman  mailman  3082 Dec 27 11:48 config.db.last
 -rw-rw-r--   1 mailman  mailman   869 Dec 26 16:57 request.db
 -rw-rw-r--   1 mailman  mailman   189 Jan 30  2002 handle_opts.html
 -rw-rw-r--   1 mailman  mailman  1026 Jan 30  2002 headfoot.html
 -rw-rw-r--   1 mailman  mailman  3136 Jan 30  2002 listinfo.html
 -rw-rw-r--   1 mailman  mailman  4106 Jan 30  2002 options.html
 -rw-rw-r--   1 mailman  mailman  1169 Jan 30  2002 roster.html
 -rw-rw-r--   1 mailman  mailman   198 Jan 30  2002 subscribe.html
 -rw-rw-r--   1 mailman  mailman  1706 Jan 30  2002 admindbpreamble.html
 
 
 And the filesize for config.db does not change.  I suspect that the config.db 
 file is not changing at all when I attempt changes logged in as the site admin.
 
 The only change to the file is config.db's ownership keeps changing to nobody!
 
 Why?
 
 Maybe the above is a clue to the problem!
 
 Any thoughts?
 
 Steve
 [EMAIL PROTECTED]
 
 



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org