Problems loggin in to Debian 3CX

Status
Not open for further replies.

matias.alba

Bronze Partner
Basic Certified
Joined
Aug 3, 2022
Messages
7
Reaction score
2
Hello!
We can't log in as root to 3CX. This is a Debian deployment installed on a virtual machine managed by the client.

When we try to log in, we get prompted to type our user (root) and then we can type our password. Immediately after, the CLI shows us a log in screen for a fraction of a second and then asks us for credentials again. (please reffer to the videos and screen captures provided).

We would like to make clear that this is not a password issue, given that if we type the incorrect password, we get the “wrong password error”.

What could be the issue?

Thank you!

Video:
https://streamable.com/vmr53l

1.png2.png
 
I've found a workaround.

Via grub we activated single user mode where we created a sudoer user. We can now login through that user and access root privileges.
 
I have the same issue here , can you please explain more about how you solve it?
 
I have the same issue here , can you please explain more about how you solve it?
Hello.

Yes, just to clarify, I still don't have access to the "root" account. The same loop happens even after creating another user.

What I did, was create another user and giving it SUDO privileges.

  1. First I rebooted the VM and when I got to the boot screen, I pressed "e"

    1661171901033.png


  2. Then I scrolled down to the "linux" line and typed this to initiate Single User Mode:

    Code:
    init=/bin/bash



    1661172376851.png
    And then I pressed "CTRL -X"

  3. Once you're in SUM, you need to change the rights from read only to read and write. Type:

    Code:
    mount -n -o remount,rw /


  4. Then I created a new user and gave it SUDO rights:

    Code:
    adduser *Insert username here*

    Code:
    usermod -aG sudo *Insert username here*
After this you should have a SUDO user that has root privileges when prompted.

Let me know if this worked for you.
 
Status
Not open for further replies.

Forum statistics

Threads
111,970
Messages
590,058
Members
164,885
Latest member
webcom2000