Remotely disabling a user account

Nathan Sims <[email protected]>
Newsgroups gmane.comp.macosx.admin
Message-ID <[email protected]>
I have a situation where I need to disable a user account on a remote iMac using commands issued from a Terminal window. What would be a good approach to doing this? The user account is local to the machine. (Normally I would use ARD, but it locks up when I try to install it remotely.)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.