*BSD News Article 71464


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!inquo!news.seinf.abb.se!nooft.abb.no!Norway.EU.net!EU.net!newsfeed.internetmci.com!uuneo.neosoft.com!insync!news.io.com!arlut.utexas.edu!usenet
From: Ian Fink <fink@arlut.utexas.edu>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: adduser and rmuser account
Date: Wed, 19 Jun 1996 12:58:02 -0500
Organization: Applied Research Laboratories - The University of Texas at Austin
Lines: 7
Message-ID: <31C83FAA.D5B@arlut.utexas.edu>
References: <4q8b2e$t9s@cortez.its.rpi.edu>
NNTP-Posting-Host: seadevil.arlut.utexas.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (X11; I; HP-UX A.09.05 9000/730)
To: Khem Wanglee <wanglk@cortez.its.rpi.edu>

Write a C program to add/remove an entry to /etc/passwd.
Write a C program to create/remove the user directory and move the right
setup files into it.  It would have to call chown.
Make these programs suid.  Then make them group executable...at the
user that you want to do all this to the group.

Ian Fink