Re: [Cooker] msec-0.18-6 installation report

2002-02-19 Thread Frederic Lepied

huug <[EMAIL PROTECTED]> writes:

> Frederic Lepied <[EMAIL PROTECTED]> writes:
> 
> > huug <[EMAIL PROTECTED]> writes:
> >
> >> Borsenkow Andrej <[EMAIL PROTECTED]> writes:
> >> 
> >> > On ÁÑâ, 2002-02-16 at 00:59, huug wrote:
> >> >> 
> >> >> [root@huug2001 huug]# rpm -Uv msec-0.18-6mdk.i586.rpm
> >> >> Preparing packages for installation...
> >> >> msec-0.18-6mdk
> >> >> Traceback (most recent call last):
> >> >>   File "/usr/share/msec/msec.py", line 219, in ?
> >> >> commit_changes()
> >> >>   File "/usr/share/msec/mseclib.py", line 18, in commit_changes
> >> >> apply(f[0], f[1])
> >> >>   File "/usr/share/msec/libmsec.py", line 552, in password_aging
> >> >> entry = pwd.getpwnam(name)
> >> >> KeyError: getpwnam(): name not found

Sorry my eyes were elsewhere. What is your setup (nis, ldap, ...) ? It
seems it doesn't find a user in the pwd database while this user is in
the shadow file.
-- 
Fred - May the source be with you




Re: [Cooker] msec-0.18-6 installation report

2002-02-16 Thread Frederic Lepied

huug <[EMAIL PROTECTED]> writes:

> Borsenkow Andrej <[EMAIL PROTECTED]> writes:
> 
> > On ÁÑâ, 2002-02-16 at 00:59, huug wrote:
> >> 
> >> [root@huug2001 huug]# rpm -Uv msec-0.18-6mdk.i586.rpm
> >> Preparing packages for installation...
> >> msec-0.18-6mdk
> >> Traceback (most recent call last):
> >>   File "/usr/share/msec/msec.py", line 219, in ?
> >> commit_changes()
> >>   File "/usr/share/msec/mseclib.py", line 18, in commit_changes
> >> apply(f[0], f[1])
> >>   File "/usr/share/msec/libmsec.py", line 552, in password_aging
> >> entry = pwd.getpwnam(name)
> >> KeyError: getpwnam(): name not found
> >> 
> >
> > Hmm ...
> >
> > {pts/1}% rpm -q msec python-base
> > msec-0.18-6mdk
> > python-base-2.2-8mdk
> 
> [huug@huug2001 huug]$ rpm -q msec python-base
> msec-0.18-6mdk
> python-base-2.2-8mdk
> 
> Anything else?

$ python
Python 2.2 (#1, Feb 12 2002, 10:16:31) 
[GCC 2.96 2731 (Mandrake Linux 8.2 2.96-0.74mdk)] on linux-i386
Type "help", "copyright", "credits" or "license" for more information.
>>> import pwd
>>> pwd.getpwnam


-- 
Fred - May the source be with you




Re: [Cooker] msec-0.18-6 installation report

2002-02-15 Thread Borsenkow Andrej

On óÂÔ, 2002-02-16 at 00:59, huug wrote:
> 
> [root@huug2001 huug]# rpm -Uv msec-0.18-6mdk.i586.rpm
> Preparing packages for installation...
> msec-0.18-6mdk
> Traceback (most recent call last):
>   File "/usr/share/msec/msec.py", line 219, in ?
> commit_changes()
>   File "/usr/share/msec/mseclib.py", line 18, in commit_changes
> apply(f[0], f[1])
>   File "/usr/share/msec/libmsec.py", line 552, in password_aging
> entry = pwd.getpwnam(name)
> KeyError: getpwnam(): name not found
> 

Hmm ...

{pts/1}% rpm -q msec python-base
msec-0.18-6mdk
python-base-2.2-8mdk