try passwd -l username

fil

On Thu, 10 Feb 2000, Arni Raghu wrote:

>Date: Thu, 10 Feb 2000 11:24:43 -0500
>From: Arni Raghu <[EMAIL PROTECTED]>
>To: la <[EMAIL PROTECTED]>
>Cc: [EMAIL PROTECTED]
>Subject: OT: Linux and BSD..helpw with disabling accts..
>
>Hi,
>I have a bunch of machines mostly linux and 1/2 BSD boxes...Now to disable
>user accounts I simple append a "*" to the passwd field in the shadow
>file..It works just fine..
>
>Now I try the same on my BSD box..no luck it just logs the user in..of
>course right now I have the shell pointed to /bin/pwd..so he actually cannot
>login but the user can easily read mail using external programs and this is
>what I want to disallow..
>
>I guess the crypt program is diffn in BSD where I guess it ignores the "*" .
>Anybody have a quick workaround??
>
>Thx,
>Arni
>
>-====---====---====---====---====---====---====---====---====---====---====-
> to unsubscribe email "unsubscribe linux-admin" to [EMAIL PROTECTED]
> See the linux-admin FAQ: http://www.kalug.lug.net/linux-admin-FAQ/
>

-====---====---====---====---====---====---====---====---====---====---====-
 to unsubscribe email "unsubscribe linux-admin" to [EMAIL PROTECTED]
 See the linux-admin FAQ: http://www.kalug.lug.net/linux-admin-FAQ/

Reply via email to