Search Again:

Re: passwd file issue and multiple ssh requests

From: Shawn Hogan
Date: Tuesday, July 1, 2003
Time: 4:56:12 pm

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



Messages In This Thread:



Return to Digital Point Solutions' Home Page