I use both, but I only use
su(1) to switch users in the administration of PostgreSQL. Otherwise, I use
sudo(8) approximately 95% of the time.
As for
sudo(8) customizations:
- Uncomment giving root access to the wheel group, but passwords still need to be specified:
- Uncomment the option to suppress lecturing (I don't need the long message displayed upon first usage), & suppress the badgering quips if I misspell my password.