erl in 5.0-RELEASE just to use rmuser. This looks much
better than the previous submissions.
My two bit comments on the code below.
> char passwd_file[] = "/etc/master.passwd";
> char passwd_tmp[PATH_MAX] = "/etc/ptmp.X";
> char *passwd_tmp2;
> char gro
LITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* rmuser - C programme to remove users
*
* Eirik Nygaard <[EMAIL PROTECTED]>, 08/08/02
*
*
On Sat, Aug 10, 2002 at 03:59:42PM +0200, Morten Rodal wrote:
> On Sat, Aug 10, 2002 at 02:02:39PM +0200, Eirik Nygaard wrote:
> > I have just rewritten the rmuser perl script to C, it would be
> > great if you could take a look at it and check if everything is ok.
>
>
On Sat, Aug 10, 2002 at 02:02:39PM +0200, Eirik Nygaard wrote:
> I have just rewritten the rmuser perl script to C, it would be
> great if you could take a look at it and check if everything is ok.
You should probably replace the strcpy() and strcat() with strlcpy(3) and
strlcat(3), or at
I have just rewritten the rmuser perl script to C, it would be great if you could take
a look at it and check if everything is ok.
How do I get this commited?
--
Eirik Nygaard <[EMAIL PROTECTED]>
PGP Key: 83C55EDE
/*
** -*- perl -*-
** Copyright 1995, 1996, 1997 Guy Helmer, Ames
usr.sbin/adduser/rmuser.perl has been broken since revision 1.18 on
2001/07/25. rev 1.21 (committed 2001/08/01) brought it back to life.
rmuser is similiarly broken in -stable and will be fixed after I get the
go-ahead from the release engineer.
Guy
Guy Helmer, Ph.D.
Sr. Software Engineer