Local Admin Privileges in Tiger
Confusing at first, but smart in the long runA new "feature" of Tiger is that users in the LDAP, or other network directory, admin groups no longer have the ability to be local admins on the machine.
For example, just because you are the diradmin user, this doesn't mean that you'll be able to use Server Admin to administer the server. Same goes for OS X client too. Just becasue you are in the LDAP admin group doesn't mean that you'll be able to change printer settings on the client machine.
This caught me off-guard at first, and I must admit I was a bit peeved by it. However, I've actually grown to find this a rather clever dichotomy.
Now you can easily delegate admin capabilities amongst your network systems. For example, you can create a "help desk" group in LDAP, then nest that group inside the client's admin group. Now you're help desk personnel can click through authentication dialogs on the client, but have no admin abilities on the servers.
Create another group "web server admins" and nest this inside the local admin group on your web servers and so on. Now you can have a bit more granularity with what users can be admins on what systems.
You can automate this with the dseditgroup command. For example this command:
dseditgroup -o edit -a helpdesk -t group -n /NetInfo/DefaultLocalNode admin
will nest the helpdesk group inside the local admin group.
A further bit of confusion, or perhaps opportunity, lies in the fact that sudo is not aware of nested groups. I imagine this will be fixed, since it seems to be a bit of a bug. Until then, however, you can use visudo to add other groups besides the admin group to the sudoers list, which lives at /etc/sudoers.
So, you can now have an LDAP-based helpdesk and clientadmin groups. Nest them both in the local admin group but only put clientadmin in the /etc/sudoers file. Now you have allow help desk users to admin the machine but not have sudo rights, and the client admin users to both admin and sudo on the machine.
