Subject: Re: Restricting remote access for a user
To: Andy R <quadreverb@yahoo.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 08/12/2002 16:22:34
On Mon, 12 Aug 2002, Andy R wrote:

> How do I restrict a user from logging in remotely in
> any way, but I still want to be able to su to him from
> another user (root or any other valid user) that is
> able to log in?

Make login shell non-existent or at least not a real shell.

Then with su use -m option.

   Jeremy C. Reed
   http://bsd.reedmedia.net/