su -c 'yum update' yum install preupgrade preupgrade Select Fedora 10 and after a while you'll be asked to reboot in your upgraded Fedora 10 system! If you were using the RPM Fusion Repository it should have been updated to the RPM Fusion repository by now. But if you haven't done so it will also be updated along with the whole system update.
su -c 'command'
Normally if you want to run a command which requires root privileges you first have to type 'su -', type your root password and then type the command. However you can bypass this by using the 'sudo' command. But first you have to configure it like this: su --login -c 'visudo' Now go below the line: root ALL=(ALL) ALL press a, and type the following username ALL=(ALL) ALL where username is the username you use to login. Next press Escape. Now, if you want to be prompted for your root password each time you use the sudo command go to this line: # %wheel ALL=(ALL) ALL and with your cursor pointing on # press x If you don't want to be prompted for your root password each time you use the sudo command go to this line: # %wheel ALL=(ALL) NOPASSWD: ALL and with your cursor pointing on # press x Next, press :wq to save and exit. (type the : as well)
Just type: su -c 'gpasswd -a username wheel'
To test if you have done it correctly as a simple user type: $ sudo whoami If everything is working properly the command should return the word 'root'.