RedHat 5.2 and settings up a BBS using mgetty
Len Ovens (len@cbbs.org)
Wed, 1 Sep 1999 17:55:29 -0700
On Tue, 31 Aug 1999, Clive Malcolm wrote:
> What I would like it to do is dial in first time and login as say user
> Fred and run a program. Can anyone explain what files I would need to
> edit on RedHat 5.2 and what changes I would
> need to make
So you wish that as soon as the modem connects a program will run as a
certain user? Or something else? Mgetty is set up to need at least one
keypress, (maybe two with the enter I haven't tried) then you can
configure mgetty to take that key and start whatever program you wish
(as root) or send a user to login that has no password. Doesn't sound
right for a BBS though. I have this one set up so that the user is
promted to type 'bbs' instead of a userid. I then run something that
asks for their name (first and last) and checks to see if they are new.
If they are not new, then their userid is pulled from a file with their
name as a key and sent to login. Otherwise they get a script that asks
them some questions and then logs them in by a very limited acount as
'new'. Just enough so they can look around. At the same time their info
is mailed to me so I can set up an acount if needed.
--
Len
len@cbbs.org