Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
User account mess - unix command to list and delete?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

User account mess - unix command to list and delete?



Hey,

I have 8 student user accounts on several of my lab machines - and
normally at the end of a semester I use a dscl command to rename them
back to Student1-8 and reset the passwords.

However, in one lab, I ran software update - and then went to make my
ususal changes before the start of the semester and more or less made a
mess of things - many of the accounts couldn't be found, and I
accidently created duplicate versions of other accounts.

Is there a unix command I can use to get a UID for the accounts on a
machine - and then something to remove the existing user accounts (Or
all accounts that aren't an admin type) - and then recreate a student1
-8 account?

Or - is there a way I can set one up the way I want it, and then copy a
set of files over to all the others?

I really don't want to have to go through these machines by hand if I
can help it.

Any advice would be appreciated!

-John
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Remote-desktop mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.