On Thu, 10 Feb 2000, Arni Raghu wrote:
> 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??
are you rebuilding the password database on the bsd boxes? at least in
freebsd, you need to rebuild it when you make changes (it's not read as a
flat text file). run vipw as root, make the changes, then save it. it
should give you a messages about rebuilding passwd database.
i checked it on a netbsd box, with the same results.
brian
-====---====---====---====---====---====---====---====---====---====---====-
to unsubscribe email "unsubscribe linux-admin" to [EMAIL PROTECTED]
See the linux-admin FAQ: http://www.kalug.lug.net/linux-admin-FAQ/