Ultramarine-Linux / triage

If you're unsure where an issue should go, but are sure it belongs to Ultramarine, you can report it here.
49 stars 1 forks source link

[BUG] Immutable - Su: Authentication failure (Root not enabled or created during setup) #20

Closed ghost closed 11 months ago

ghost commented 12 months ago

Describe the bug During setup, the option to enable and create a root user is not presented. Subsequently, your user may have administrative privileges, such as SUDO, but you cannot access or log in as root.

To Reproduce Steps to reproduce the behavior:

  1. Run the installer (see that root is not given as choice)
  2. After install, open the terminal
  3. Type in: "su"
  4. Correct password will give you - su: Authentication failure

Expected behavior The ability to create a root user or login as root.

Screenshots n / a

Desktop (please complete the following information):

ostree-unverified-image:docker://ghcr.io/ultramarine-linux/ultramarine-flagship:39 Digest: sha256:7d046049304d6e12b1ee1e198913dd9dff960005a5f2a37fdc5cd19a0e9c405d Timestamp: 2023-11-25T06:08:46Z

Additional context

If by design (no root) the user should be presented with an alternative message.

lleyton commented 12 months ago

The root account not allowing password login is an intensional design decision for security, as most of the time, privileged actions run perfectly fine through polkit or sudo. However, if you do want to be able to log in as root or get a shell, sudo su should work, or you can set a root password using sudo passwd. If those don't work for some reason, that would be a bug.

ghost commented 11 months ago

Closing this.

Why? Not a bug, by design. -- Current design as described by @lleyton works.