if it hasn't come up yet.
to get a user to have sudo rights, you need to be logged in as root and run
either uncomment the line out with the group 'wheel'
or add your user below the line where root is included
copy the line and replace root with your username,
though adding the user to the group wheel is probably better.
save and exit
(standard install I think uses vim for visudo.
hit "insert" or "i" to get into edit mode, edit stuff, then hit "esc", then
to write and quite
then log onto your user and run a command for which su is needed with
first time sudo, accept what's written there,
enter your password (not root's pw) and hit enter
also the standard install of centos has a crappy way of displaying bash paths imo,
this can be edited in your local .bashrc file
(check around for couple pages online, not sure which one to recommend)
I personally prefer to have debian's style of bash display
so I know where I actually am
also helpful is to edit your PATH in the .bashrc file.
by default not much is set up, so you often end up with typing
/sbin/<command> or /bin/<command>
whereas I prefer to just type the command (such as shutdown, ifconfig, etc.)
have a look at the .bashrc for the PATH and add those too, maybe as well, if not included already