I can’t update or upgrade my system because I need su rights.
I am new to the Fedora - please acknowledge.
DJ
Please try sudo "the command you like to use"
and your normal password.
Does this work?
It definitely would help if we do know a bit more about your setup.
When you log into Fedora the password you log in with is the password you use.
In all Linux distros, there are two ways to exercise root (superuser, admin) rights to run commands in the terminal.
The safest way is to preface your commands with sudo
:
sudo mkdir directory-name
You will be prompted for a password, type your normal password. There will be a grace period of five minutes during which you will be able to execute more commands as root/admin without being asked for the password every time. If this fails then you do not belong to the “sudoers” group for some reason.
The not-so-safe way is to use su
, this way you change your session to root session, you become root:
su
then type the root user password. From now on, you do everything as root without ever being asked for password again. You have to type exit
to leave and become yourself again This only works if root account is enabled, often it is not, and is generally not advisable, outside of some special circumstances. The first method, using
sudo
, is what most people, even professional admins, do.
Though even when using sudo
, be super careful, because during those five minutes the system will let you get away nearly with anything without asking “are you sure?”. A single typo can ruin the entire system and make it unbootable.
Good luck
Thank you…I used sudo -s and that worked.