[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Adding and removing a user automatically



On Wed, Mar 04, 1998 at 10:28:08PM -0600, Zed Pobre wrote:

> Could someone point me in the direction of some sample shell script code
> that will let me check to see if a given username already exists with a
> given group ID?  I'm trying to finesse my IRAF installation script, and
> just brute-force calling adduser on every install seems a little ugly.
> I've examined the adduser code and suspect that I might be able to write a
> similar custom routine manually in perl based upon it, but that's going to
> add a dependency to the package, and is also going to be hard on my nerves
> :)

Take a look at the postinst script of msqld.

Regards,

	Joey

-- 
  / Martin Schulze  *  joey@infodrom.north.de  *  26129 Oldenburg /
 /  Mensch soll es nicht glauben:                                /
/    eMail ist zum Kommunizieren geeignet.  -- Lutz Donnerhacke /


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: