Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2008 16:17:53 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        Tuan Ho <taho89@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Help on freeBSD 4.10
Message-ID:  <4E314437-2B3E-4FC1-9825-5E08DA278635@mac.com>
In-Reply-To: <BAY104-W2950C28F322C2E997A2E98DC330@phx.gbl>
References:  <BAY104-W2950C28F322C2E997A2E98DC330@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 4, 2008, at 2:31 PM, Tuan Ho wrote:
> 1/
> As an administrator, how can i disable an account after three  
> consecutive unsuccessful login attempts?

As root, you could run:

  chsh -s /usr/sbin/nologin _user_

> 2/
> How can I enable logged file to monitor successful and unsuccessful  
> logins and logouts?

This should be enabled by default already; examine /var/log/auth.log....

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E314437-2B3E-4FC1-9825-5E08DA278635>