*BSD News Article 74522


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.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!enews.sgi.com!news.igc.apc.org!usenet
From: "Samuel E. Romero" <ser@mail.hon.hn>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: PPP & Shell Accnts. how to?
Date: Tue, 23 Jul 1996 14:41:08 +0600
Organization: Institute for Global Communications
Lines: 22
Sender: codehuhon@igc.apc.org
Message-ID: <31F49024.6618@mail.hon.hn>
NNTP-Posting-Host: 206.48.253.70
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (Win95; I)

I'm trying to setup an ISP server using FreeBSD 2.1.5, already have the 
link to my ISP, and I want to offer both PPP and Shell accounts, like 
this:

PPP accounts (group pppusr), can't have access to the server through, 
telnet or ftp, even from other servers (so they can only connect to 
the services they have access to, like e-mail, even from other 
servers, or their machines).  They only use the account to surf the net 
and e-mail.

Shell accounts (group shlusr), must have access to telnet, ftp and all 
the other stuff, even ppp if they want.

I want to setup the machine (8+ incoming modems), so when a pppusr logs 
in, the account will connect trough ppp (pppd, iijppp, slirp, whatever), 
but when a shlusr user logs in, it will be presented a shell prompt (as 
a normal user), both types of users will call at the same number and the 
server will decide what to do on the type of user (ppp or shl).

How can I setup this, or where can I find the info to do it?.

Thanks.