su -c 'yum update my-package'
Enter the password for the root account when prompted.
su -c 'yum groupupdate "PackageGroup"'
Enter the password for the root account when prompted.
su -c 'yum update'
Enter the password for the root account when prompted.