Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 1995 11:03:20 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        wsantee@wsantee.oz.net (Wes Santee)
Cc:        questions@freebsd.org
Subject:   Re: Automating removal of users password
Message-ID:  <199508070133.LAA22015@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199508062012.NAA01949@wsantee.oz.net> from "Wes Santee" at Aug 6, 95 01:12:35 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Wes Santee stands accused of saying:
> umask 077
> chdir /etc
> /usr/bin/grep -v ${username} master.passwd > master.passwd.XXXXXX
> /usr/sbin/pwd_mkdb -p master.passwd.XXXXXX
> /bin/rm -f master.passwd.XXXXXX

That should be  grep -v ^${username} ... (Match only at the beginning of
a line)

> ( -Wes Santee                        | You're never dead 'til you're )

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and                                      [[
]] realtime instrument control          (ph/fax) +61-8-267-3039         [[
]] My car has "demand start" - Terry Lambert                            [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508070133.LAA22015>