On Tue, Apr 11, 2006 at 10:28:56AM -0400, Justin Pryzby wrote:
> On Tue, Apr 11, 2006 at 01:30:23PM +0200, Javier wrote:
> > On Wed, Apr 05, 2006 at 09:58:56PM -0400, Justin Pryzby wrote:
> 
> > > +Does not run if either the user or the group do not exist:
> > > +<example>
> > > +  if getent passwd | grep -q "^<var>server_user</var>:"; then
> > > +     echo "Server user does not exist. Aborting" >&2
> > > +     exit 1
> > > +  fi
> > > Backwards test.
> $ if getent passwd |grep -q "^root:"; then echo "DNE" >&2; fi;
> DNE

Ah. Now I understand your comment.

Javier


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to