On Tue, May 10, 2005 at 12:30:00PM +0930, [EMAIL PROTECTED] wrote:
> This works fine the first time, then times out when running consecutive times.
> Does anyone know what is happening and why it times out if I run it twice or 3
> times in a row?

It may not be cleaning up properly the first time through
(i.e. it does not work fine the first time, it just looks like it does).
I notice that in the smb.conf there is a chat script for samba
to change passwords and they check for:

    *passwd:*all*authentication*tokens*updated*successfully*

right at the end. Maybe you have to check that too.
Also, passwd has some locks in it which cause some files
to be locked during password changing operations, I think
that lslk can detect the locks but I can't remember where
they are.

Another place to look is by doing a pstree before the first
run, then another pstree after the first run and then diff
the two, you might see a passwd process hanging around.
Then you have to do lsof on that process and see what files
it might be hanging onto.

        - Tel  ( http://bespoke.homelinux.net/ )

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to