1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Welcome to iHelpForum - the place to get help from knowledgeable techs in all areas of Tech, Home and Auto help. Consider checking out our Guides or Registering an account to post on our forums today.

    Dismiss Notice

What is su?

superuser

  1. Belahzur
    Superuser/Root In Linux - What Is It?

    Each time you try to make any critical system changes through the command line or GUI, you will be prompted for a password. You can log in as root(alternatively called superuser) to avoid this.

    The superuser, also known as root, is the top level user - allowing administrator use to edit/change/install programs. It is not recommend you login as root user, as you can wipe the HDD.

    But, if you really must use root user, here is how to login to it.

    First you need to define a password. To do that, type the following:

    sudo passwd root

    You will be prompted to enter a password, and repeat for confirmation.

    To login as root

    In shell (the command line), type in the following:

    su

    You will be asked for the root password, type in the root password that you defined earlier and you will be logged in as the superuser.