View Issue Details

IDProjectCategoryView StatusLast Update
0005253Kali LinuxKali Package Bugpublic2019-02-16 01:23
ReportertechnicalBitch Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionopen 
Summary0005253: WSL Distro Kali Linux Config --default-user root Doesn't Work
Description

NOTE: Copy and Paste from the WSL Github repo: https://github.com/Microsoft/WSL/issues/3843

  • Your Windows build number: (Type ver at a Windows Command Prompt)
    Microsoft Windows [Version 10.0.17134.523]
  • What you're doing and what's happening: (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)
  1. Open an elevated command prompt
  2. Type kali --default-user root
  3. Type kali to start instance
  • What's wrong / what should be happening instead:
    Instance should start with root as the default user but the instance starts with the original default user.
Steps To Reproduce
  1. Open an elevated command prompt
  2. Type kali --default-user root
  3. Type kali to start instance
Attached Files
wsllaunchlogs.zip (7,828 bytes)

Activities

technicalBitch

technicalBitch

2019-02-13 18:47

reporter   ~0010297

After upgrading to Microsoft Windows [Version 10.0.17763.316] WSL distro of Kali linux opens as the previously set default user (kali config --default-user root) but cannot be switched back to previous user with the same command (kali config --default-user username)

re4son

re4son

2019-02-13 23:21

manager   ~0010298

I noticed that step 2 in that list is missing the "config" option.
Could you please try kali config --default-user root again and see if that works?

technicalBitch

technicalBitch

2019-02-14 12:28

reporter   ~0010303

@re4son: That was a typo...I was using kali config --default-user root. Also, after upgrading to Microsoft Windows [Version 10.0.17763.316] and rebooting, kali starts as root but kali config --default-user username does not work to switch back to the user.

technicalBitch

technicalBitch

2019-02-14 12:34

reporter   ~0010304

Please close. Restarting the LxssManager service commits the change. I'll put in a request to update the docs.

Issue History

Date Modified Username Field Change
2019-02-13 15:49 technicalBitch New Issue
2019-02-13 15:49 technicalBitch File Added: wsllaunchlogs.zip
2019-02-13 18:47 technicalBitch Note Added: 0010297
2019-02-13 23:21 re4son Note Added: 0010298
2019-02-14 12:28 technicalBitch Note Added: 0010303
2019-02-14 12:34 technicalBitch Note Added: 0010304
2019-02-16 01:23 elwood Status new => closed
2019-02-16 01:23 elwood Description Updated
2019-02-16 01:23 elwood Steps to Reproduce Updated