I think I was not very clear:
1) First, as root (it means, using "su"), you need install sudo (as package or port)
2) Again, as root (it means, using "su") you must edit /usr/local/etc/sudoers (if using vim/vi, you must save the files forcely, I mean, wq! in the end) adding which users can be sudo
3) As a user included in sudoers file, you can type any command, like, sudo mkdir /usr/local/etc/test: system will ask the password for the user (not more as root). In the first time, you (as user) must agree with terms)
I think now, I was more didatic.
Best wishes
Eduardo