Run Linux command from specific user.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 24 May 2019 11:21:46 +0300
changeset 2367 f295973a87a5
parent 2366 55f48026a610
child 2368 574d07ac6f55
Run Linux command from specific user.
wsl.rst
--- a/wsl.rst	Fri May 24 11:21:01 2019 +0300
+++ b/wsl.rst	Fri May 24 11:21:46 2019 +0300
@@ -21,3 +21,8 @@
   wsl -d debian --exec /bin/bash
   wsl -distribution debian --exec /bin/bash
 
+Run Linux command from specific user::
+
+  wsl -u user ls
+  wsl --user root ls
+