From: Steve M. Robbins (steve@Nyongwa.CAM.ORG)
Date: 09/14/93


From: steve@Nyongwa.CAM.ORG (Steve M. Robbins)
Subject: Re: BBS package
Date: Wed, 15 Sep 1993 04:02:39 GMT

In article <CD2HD7.7F8@ukelele.gcr.com> spj@ukelele.gcr.com (Guru Aleph_Null) writes:

[ I agree with your approach to a BBS, btw, and am working on the same
thing, as are a few other posters here it seems ]

>This is a problem, I haven't figured out an easy way for the BBS to
>create new accounts on the fly. I guess it may have to do something
>like check for a specific login name or something. That's something to
>look into, in the future.

I've got a perl script that does this -- creates accounts for people after
they enter a username and password. It's a bit rough, but uses a perl
library I wrote for dealing with /etc/{passwd,shadow,group} and another
for locking files to make sure two people don't try to update them at the
same time.

The libraries could be useful in their own right: I'm using the 'passwd.pl'
library for other things like a 'passwd/chsh/chfn' program to change one's
password, shell or full name (gecos). It works quite well; the library
detects whether you use shadow passwords or not and does the right thing.

My lockfile library is also in use by other things, notably an offline mail
and news packer (does QWK and a 'raw' format right now, SOUP is coming up).

Any of this stuff is free for those who want it -- just write me.

-- steve z

-- 
Steve Robbins  --  steve@nyongwa.cam.org