0

Is there a command i can run from terminal that will show what type of accounts are used

something that reports the username and type of account like below

/Users/fred - mobile, standard
/Users/wilma - network admin
1

Try this command. It should display what you want.

/usr/bin/dscl . -read /Users/username | 
    egrep 'NFSHomeDirectory|RecordType' | tr '\n' ':' | cut -d':' -f2,5
/Users/username:Users
| improve this answer | |
  • 1
    How can the account type be determined from the output of id? – nohillside Nov 12 '14 at 12:36
  • I updated my answer, I think I misunderstood the question with my previous answer. – jherran Nov 12 '14 at 13:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .