Skip to main content
Question

what files are touched when modified a normal account to Administrator on System Prefs

  • December 2, 2011
  • 3 replies
  • 22 views

Dear all,

I would like to know which plist and other files I need to pack when I want to change an existing account from normal user to Administrator.
This is for a running Netboot image so using a command wont help since every time the machines are restarted will loose this.

Thanks

Carmelo Lopez Portilla
ITS EMBL Heidelberg

lopez at embl.de
+49 6221 3878444

3 replies

Forum|alt.badge.img+31
  • Honored Contributor
  • December 2, 2011

The only thing that changes is group membership in the directory services database.


  • December 2, 2011

Hi Thomas,

so that is what I did, modified the /var/db/dslocal/nodes/Default/groups/admin.plist and working.

thanks a lot!!
cheers
Carmelo


Forum|alt.badge.img+12
  • Contributor
  • December 2, 2011

It is probably "safer" to not modify the plist directly if this is what you
mean by your message.

Here is the way to add someone from a directory service to the admin group,
for example.

dseditgroup -o edit -n /Local/Default -u localadmin -p -a networkuser -t
user admin

http://support.apple.com/kb/HT4332

Good luck,

Ryan M. Manly
Glenbrook High Schools