Problem installing Leopard

I installed Leopard yesterday. The good news is that its really beautiful and that it seems to add a lot of improvements. The bad news is that it removed admin rights to my user. It seems funny but because you need admin rights to give admin rights, well …

Here is the solution :

  1. Boot in single user mode. (press AppleKey + S at startup)
  2. Add your user to /private/etc/sudoers
  3. Reboot
  4. From a terminal, add your user to Admin group with this command
  5. sudo dscl . append /Groups/admin GroupMembership myusername

  6. Quit and Open Preferencies to check that your user now has admin rights.
  7. Remove your user from /private/etc/sudoers. Being in admin group is sufficent