Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 1997 15:54:31 -0600 (MDT)
From:      Wes Peters - Softweyr LLC <softweyr@xmission.com>
To:        matrix@norilsk.ru (Artem Koutchine)
Cc:        questions@freebsd.org
Subject:   Re: Local net + initernet (interesting idea)
Message-ID:  <199704172154.PAA24607@xmission.xmission.com>
In-Reply-To: <199704171343.RAA04082@omni.norilsk.ru> from "Artem Koutchine" at Apr 17, 97 09:42:42 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Artem Koutchine asked:
> 	Recently one very interesting question came up and
> i just could not figure out teh solution.

You came to the right place.

> We are and ISP and also decided to make a very interesting thing
> such as city intranet (thanks god our city is pretty compact). In this
> light the problems that came up were

What a great idea!  What city do you serve?

> 4) No shell for city net users.
> [...]
> Part of the sollution is in using PAP (not shell account), but it mean no
> POP3, SMTP mail!

I can help solve this one.  Go ahead and create a shell account for 
each of your citynet users, but set their shell to /sbin/nologin.
This will create a valid passwd entry for the user, but keep them
from every really logging into your server. 

If you *do not* put /sbin/nologin into the file /etc/shells, these
users will *not* be able to login to your ftp server.

If you would like a version of the nologin program that logs access
attempts to nologin accounts, see my web page listed below.  I've
written a simple compiled nologin program that logs a message in the
system log whenever someone trys to access a nologin account; you
compile and install this program and use it as the users shell.

> PS: If this letter gets to a russian speaking person, write in russian
> please :)

Russian?  Even my english is questionable -- I've been stuck in Utah
too long!  ;^)

-- 
          "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                       Softweyr LLC
http://www.xmission.com/~softweyr                       softweyr@xmission.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704172154.PAA24607>