Bug#337086: [BPP] Best practices for security design and review
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
Justin
Reply to: