Unable to login Root account in BOSS Linux?

6,003

Solution 1

Chances are... There's intentionally no root password. You're supposed to use sudo as needed. THIS IS A GOOD THING. It means that you're less likely to do the wrong thing as root, is more secure and sudo let's you do all the same things anyway.

If you must, sudo su (with a user who can sudo, typically the first user you add during install) will let you do things as root, including setting a root password. You don't need to /shouldn't

From the additional information in the comments, you're running a modern version of gnome, and gdm. I don't use gnome, but with that information, and that BOSS is a debian derivative, we can find an answer.

Many distros including debian, which BOSS is based off of disable root logins for graphical logins. This is a very sensible thing (and in the old days, KDE would have a red background and a bomb symbol when you did this). Once again, this is a terrible idea and you should generally not run anything as root. There's usually something that emulates sudo (gksudo?). Alternately you need to open up your login manager config file, and comment out the line that disallows root logins. I re-iterate this is a terrible idea, and you probably should not do it.

Have I said a few times its a bad idea? Good.

If you still want to do this its a file called /etc/pam.d/gdm3 and you need to comment a line out that says #auth required pam_succeed_if.so user != root quiet_success. My source suggests that you use vi, but any text editor should work

Solution 2

You can try to change the password for root as seems there is no at the moment:

  1. Login as your user
  2. switch to root

    sudo su -

  3. change root password

    passwd

The open new virtual terminal and try to login as root

To troubleshooting you can check the logs in /var/log in messages or auth files

Share:
6,003

Related videos on Youtube

Madhav Nikam
Author by

Madhav Nikam

I like to improve new thoughts, Technics, and philosophy. Love to computer, mathematics and nature. Agriculture is my soul, math is my mind, computer is my heart and knowledge is my breath. I think breathing of knowledge is very importance to make us alive.

Updated on September 18, 2022

Comments

  • Madhav Nikam
    Madhav Nikam over 1 year

    I use EduBOSS_Linux 3.0. I want to Login my BOSS Linux with root account. I try combination of default password root ---- root boss ---- root root ---- boss boss ---- boss

    root ---- root is working for got root privilege during software installation but that username and password combination not work for login root account.
    1) Why accurate username and password also not able to login in root account.
    2) How can I login in root account of Boss Linux?
    3) How can change password of root account of BOSS Linux by Admin Account? I post screen shot here
    I Upload images here with description and details

    • Thalys
      Thalys almost 9 years
      does sudo su work?
    • Madhav Nikam
      Madhav Nikam almost 9 years
      yes! all thinks are work. But when I try to Login with root account. It shows wrong password. Actually password is accurate.
    • Romeo Ninov
      Romeo Ninov almost 9 years
      Have you try to change root password and try to login?
    • Madhav Nikam
      Madhav Nikam almost 9 years
      I try to change root password I use same method like Kuser in REDhat.
    • Romeo Ninov
      Romeo Ninov almost 9 years
      change it by login in your account, then sudo su - and the passwd
    • Madhav Nikam
      Madhav Nikam almost 9 years
      @RomeoNinov How ?
    • Romeo Ninov
      Romeo Ninov almost 9 years
      @MadhavNikam, please check my answer
    • Madhav Nikam
      Madhav Nikam almost 9 years
  • Madhav Nikam
    Madhav Nikam almost 9 years
    no! In BOOS root is by default password. But I again add some images of screen shot for better clarification. Here not privilege to do that.
  • Madhav Nikam
    Madhav Nikam almost 9 years
  • Madhav Nikam
    Madhav Nikam almost 9 years
    OK i try and report here. just 1 min
  • Madhav Nikam
    Madhav Nikam almost 9 years
    I change password. But still not able to login in root.
  • Romeo Ninov
    Romeo Ninov almost 9 years
    Check my edited answer
  • Madhav Nikam
    Madhav Nikam almost 9 years
    @Journeman Geek I upload Images here