[X-Unix] Remote force logout and lockout of user
Alexandre Gauthier
supernaut at raptorized.com
Sun Jun 13 22:19:31 PDT 2004
On 14/06/04 01:03, "James Bucanek" <subscriber at gloaming.com> wrote:
> Alexandre Gauthier wrote on Monday, June 14, 2004:
>> Basically, in a _real_ UNIX environment, you can use the password file and
>> just add an exclamation mark in front of their password hash.
>
> "Real" UNIX environments are for hackers.
Aren't we all? :)
Else we would not be wondering these kind of things, would we?
>
>> I wonder if the wonders of netinfo would be of any help...
>
> Just use niutil to set the password to '*'. Account disabled. (e.g.
> /users/root passwd). Something like:
>
> niutil -createprop / /users/whomever passwd '*'
Exactly what I was looking for. You sir, know your netinfo.
More information about the X-Unix
mailing list