On Sun, Mar 11, 2007 at 02:45:42AM +0100, Laurent Bonnaud wrote: > On Sat, 2007-03-10 at 13:22 -0800, Enyc wrote:
> > So far as I can tell that replacement will have similar problems > > if you have a group-name on the system that starts with 'stats'. > > E.g. if there is a group called 'statsrem' then the check will > > still incorrectly not-create-the-stats-group ! > Indeed. > > What about:- > > stats=`grep ^stats: /etc/group 2>/dev/null` > > instead? > I agree ! You probably want 'getent group stats' instead... -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]