use sudo(8) to allow the user to run hdparm as root (but nothing else.)
Allow A Normal User To Run Commands As root Under Linux / UNIX Operating Systems
if you don't have sudo installed, then you should... it is great for allowing one to reduce the number of people allowed access to the root shell.
Richard