Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Aug 1999 22:51:50 +0600 (ESS)
From:      Ilia Chipitsine <ilia@cgilh.chel.su>
To:        Francisco Reyes <freyes@inch.com>
Cc:        FreeBSD <Freebsd-questions@FreeBSD.ORG>, Langa Kentane <evablunted@earthling.net>
Subject:   Re: Disabling a user account
Message-ID:  <Pine.BSF.4.05.9908262249470.348-100000@localhost.cgu.chel.su>
In-Reply-To: <199908261159.HAA11346@arutam.inch.com>

next in thread | previous in thread | raw e-mail | index | archive | help
you could disable ftp/pop3/stuff (which stuff ?!) by changing
user's shell with /sbin/nologin

I'd suggest you to change user's password (using vipw)
with "*", what means that any kind of login is disallowed.
Howerer, you should store original password field somewhere.

Regards, (Наилучшие пожелания)

 Ilia Chipitsine (Илья Шипицин)

On Thu, 26 Aug 1999, Francisco Reyes wrote:

> On Thu, 26 Aug 1999 11:17:50 +0200, Langa Kentane wrote:
> 
> >I want to deny a certain user access to my server and the server is running
> >ftp, pop3 and stuff.  How do I go about doing this without deleting the user
> >account?
> 
> So what will this user still be able to access?
> Denying access to a user could be achieved by changing his/her shell to
> "/sbin/nologin". I also think there is a port which also logs the
> attemps.
> 
> This approach will allow you to temporarily deny access and when you
> want to re-instate this user you can just change the shell back.
> 
> If this user is coming from a statis IP address you could use a
> firewall rule to only allow them specific access to some services.
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9908262249470.348-100000>