Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2003 14:03:30 -0600
From:      kitsune <kitbsdlists@HotPOP.com>
To:        Michael Grant <mg-fbsd3@grant.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: restricting certain users to certain things (pam?)
Message-ID:  <20030330140330.0c6d09a8.kitbsdlists@HotPOP.com>
In-Reply-To: <200303281546.h2SFkxNg085135@grant.org>
References:  <200303281546.h2SFkxNg085135@grant.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 28 Mar 2003 10:46:59 -0500 (EST)
Michael Grant <mg-fbsd3@grant.org> wrote:

> I have a requirement to restrict certain users to logging in in
> certain ways.  For example, some users can ftp, others can ftp, ssh,
> and get a shell, other users can relay mail using auth login.
> 
> I am pretty sure I can do this though pam.conf.  Has anyone actually
> done this?  Can someone slide me some examples?

Check out /etc/ftpusers to remove the ability to access ftp.

To allow ftp but no shell access check out /etc/shells.

Not sure about mail...



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