WSL Version – Add user.

Home Page Forums users WSL Version – Add user.

Viewing 6 reply threads
  • Author
    Posts
    • #29321
      mattias vinberg
      Participant

      Working on to get Openmamba to work whit WSL and thats is done.

      How do a add a user… This is not working…

      adduser adolf
      passwd adolf

      and how do i install kde 6 via terminal ?

      Rest i think i will fix =)

      Regards,
      Mattias Vinberg

    • #29322
      Silvan
      Keymaster

      Hello,
      the command to add a user in openmamba is  useradd. See also man useradd.

      You need to install KDE Plasma 6 because you used rootfs-base for the installation`? The command is:

      sudo dnf install desktop-base-kde

      If you need the graphical login manager also sudo dnf install sddm may be needed.

    • #29323
      mattias vinberg
      Participant

      User Fixed =) and i have a working WSL version

      ——————————————–

      Do this as root user…

      dnf install nano sudo systemd

      ———————————————

      Do this as root user…

      Set password for root and add user.

      Paste one by one in Console and change <username> to your name.

      passwd
      useradd -m -g users -G wheel -s /bin/bash <username>
      echo “%sudo ALL=(ALL) ALL” >/etc/sudoers.d/Wheel
      passwd <username>
      usermod -aG wheel <username>

      ———————————————

      Do this as root user…

      Open this file via Terminal and add: nano /etc/wsl.conf

      [user]
      default=adolf <– change to your user.

      [boot]
      systemd=true

      ———————————————

      Do this as root user…

      Open this file via this line in terminal

      EDITOR=nano visudo

      and add your username under root like this.

      root ALL=(ALL) ALL
      adolf ALL=(ALL) ALL

      ———————————————

      Reboot OpenMamba – Reboot OpenMamba – Reboot OpenMamba – Reboot OpenMamba

      ———————————————

      Login as normal user and update all!

      sudo dnf update

      ———————————————

      Attachments:
      You must be logged in to view attached files.
    • #29325
      mattias vinberg
      Participant

      There is some more lines but i will make an guide =)

    • #29326
      Silvan
      Keymaster

      Good. User can just be added to the sysadmin group to give root permissions with sudo, adding to this group is also recommended for polkit policies.

    • #29329
      mattias vinberg
      Participant

      Openmamba and KDE 6 – Install KDE 6 via Openmamba – WSL – Windows 11 – GUI – Linux – X410 – 2025

      https://github.com/vinberg88/opensuse/blob/main/Openmamba-KDE6.txt

      Hope i can help some one.

      Have a god day,
      Mattias Vinberg

    • #29330
      Silvan
      Keymaster

      Many thanks for adding openmamba-KDE6 to your WSL howto project and for sharing in this forum!

Viewing 6 reply threads
  • You must be logged in to reply to this topic.