View Issue Details

IDProjectCategoryView StatusLast Update
0005253Kali Linux[All Projects] Kali Package Bugpublic2019-02-16 01:23
ReportertechnicalBitchAssigned To 
Status closedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0005253: WSL Distro Kali Linux Config --default-user root Doesn't Work
DescriptionNOTE: Copy and Paste from the WSL Github repo:

* 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 Reproduce1. Open an elevated command prompt
2. Type `kali --default-user root`
3. Type `kali` to start instance



2019-02-13 15:49

reporter (7,828 bytes)


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)


2019-02-13 23:21

reporter   ~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?


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.


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:
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 View Revisions
2019-02-16 01:23 elwood Steps to Reproduce Updated View Revisions