[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Delete User Accounts Remotely

Posted on 2007-04-05
1
Medium Priority
?
426 Views
Last Modified: 2012-05-05
I am trying to delete user accounts remotelly using Apple Remote Desktop 3.0 on computers runnign 10.4.9. Dose any one how to delete a user using the UNIX command (terminal)? So far I can only delete thier profile forlders using tis command:
sudo rm -rf /Users/USERNAME
0
Comment
Question by:DARKSAGES
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 9

Accepted Solution

by:
heteronymous earned 2000 total points
ID: 18861510
This is of course quite dangerous, double & triple-check your typing...
If you really want to hose a machine, delete the intial/default (admin) account ... so, don't !  ;)


all on ONE line:

nicl -raw /var/db/netinfo/local.nidb delete /users/<username>

where "<username>" is the user (account) shortname.

Follow that with your steps to remove the user's actual home folder.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question