|
|
 |  |
Re: passwd file issue and multiple ssh requestsFrom: Lewis Watson Date: Thursday, July 3, 2003
Time: 11:46:04 amyou could make your script check to see if the passwd file is locked.. if
so then sleep 30 and try again. This way it would not depend on Optigold
to send only one at a time. Just an idea....
Lewis
----- Original Message -----
From: "Dawn D. Pfaltzgraff" <ddpfz@plains.net>
To: "Optigold ISP List" <isp-list@optigold.com>
Sent: Thursday, July 03, 2003 11:05 AM
Subject: Re: [Optigold ISP] passwd file issue and multiple ssh requests
>
> The scripts are just running a modification script to "hold" the emails,
> the problem is in these accounts there is more than one email and it's
> trying to do them at the same time. There is no way for Optigold to know
to
> only send one session at a time to a server?
>
> Dawn
>
> At 04:55 PM 7/1/2003 -0700, you wrote:
> >Dawn D. Pfaltzgraff wrote:
> >
> > > A little background. Every once in a while our passwd file on our
UNIX
> > > based mail server seems to disappear. The master password file is
there,
> > > just not the passwd file. We have narrowed it down to the fact that
two
> > > ssh requests try to run at the same time last night and thus locked
the
> > > file and "corrupted" the passwd file. So my question is this, the
account
> > > that caused the issue had two emails associated with it and they
both tried
> > > to request ssh sessions with our mail server at the same time. How
do I get
> > > the 2 emails to pause between requests so that this doesn't happen
again?
> >
> >What exactly are they doing in the SSH session? If you are triggering
a
> >script of some sort, you may want to modify that script to take into
account
> >a locked file (with a lock file or something), then have the script
pause
> >for a few seconds and check again if it's locked...
> >
> > - Shawn
> >
> >----------------------------------
> >Shawn D. Hogan
> >President, Digital Point Solutions
> >http://www.digitalpoint.com
> >(858) 452-3696
> >
> >
> >---------------------------------------------------
> >To subscribe, unsubscribe or to search list archive
> >please visit http://www.optigold.com/lists/isp.html
> >---------------------------------------------------
>
>
> Dawn D. Pfaltzgraff
> System Administrator
> Premier Systems -plains.net
> ddpfz@plains.net
> (970-848-0475)
>
>
>
> ---------------------------------------------------
> To subscribe, unsubscribe or to search list archive
> please visit http://www.optigold.com/lists/isp.html
> ---------------------------------------------------
>
---------------------------------------------------
To subscribe, unsubscribe or to search list archive
please visit http://www.optigold.com/lists/isp.html
---------------------------------------------------
|

Return to Digital Point Solutions' Home Page |