Please add multi-user support for wsl
Currently WSL has to be seperately installed for each user on a machine. That kind of wastes Linux's potential and is a big nuisance for sysadmins. You either have to install it manually for every individual user on that machine, or you risk letting them install it themselves thereby automatically granting them full admin rights for that linux subsystem.
A multiuser installation, installing WSL for all users on that machine, but only granting actual admin (sudo) rights to the system admins is desperately needed.
please see comments on the closed post #2979, for feedback from other users on that issue
It can be done but it needs to go beyond what is documented.
@Biswa96 - it is unsupported. You will run into major issues if two users are concurrently trying to access the same distro.
@Biswa96 - it is unsupported. You will run into major issues if two users are concurrently trying to access the same distro.
I would really like this feature. I have more than one developer account on my windows machine, but I'm never using both simultaneously. Couldn't you implement it with that restriction, that only a single account could be accessing it at any one time? I think this would be the most likely use case, if I'm not mistaken. I don't like the idea of having multiple large and identical linux distros eating up space on my hard disk, although it is tolerable for the moment.
EDIT: Mmmm, having read around a little bit more, it seems like genuine multi-user support is a valid requirement, so I retract my statement about a distro being accessed by only a single user at any one time.
Also, it would be helpful, if the documentation actually highlighted this short-coming. It took me ages to find this information.
As a workaround, could I just create multiple linux accounts inside the same windows linux distro and have those identities completety isolated. So instead of having 2 windows accounts with their own Linux installs, just install Linux on a single windows account, and then inside that distro have 2 separate linux accounts, so that API keys and other identity related stuff are kept separated? I havent tried any of this out yet, since I'm waiting for 2004 to be released so I can use WSL2 with the latest Ubuntu distro which has some issues running on WSL1, apparently.
Our corporate model allows us to have a dev user with local admin privileges, but our regular user account does not. I use the dev account to set things up and then run them with user account. I ran into this issue after setting up the latest Ubuntu with zsh and git, etc. Then it doesn't appear to exist to the regular user. I would appreciate support for this feature.
Just gonna slip a
+1
on this thread
+1 as well
+1 need this feature urgently.
+1 as well
+1 was realy surprised this wasn't possible
I would like to avoid to waste space disk in my laptop because I am the only person that uses it but I need several accounts (professional, personal, etc). This is kind of a bummer
I would like to avoid to waste space disk in my laptop because I am the only person that uses it but I need several accounts (professional, personal, etc). This is kind of a bummer
I do the exact same thing. I have my personal account on my laptop, but then created a second "Work" user account to separate everything out. Only now when I tried to run something, did I realize that my Linux install wasn't showing up for the 'Work' user...
+1 that would be very useful feature
+1 I work remotely so I have a work and personal account on my computer. Considering the size of the projects I work on, I don't have the storage space for two separate instances of WSL.
+1 this is highly needed Each windows user should have its own profile on WSL rather than having to reinstall WSL for each and every user which is a complete waste of space. Root privileges should also match windows user account for security reasons.
and another +1
one more +1
Do you guys want to access a WSL distribution simultaneously or different user at different time?
Do you guys want to access a WSL distribution simultaneously or different user at different time?
Simultaneously would be nice but right now there isn't any support for different user at different time also right now natively. It is a headache installing WSL on every user account. It would be nice if they can emulate a linux based proper environment where wsl2 is running for all users but the privilege seperation exists based on users like it does on actual linux machine. I.e one machine, different users using it with different privileges
Simultaneously. Our use case is a server used by many researchers who need the X11 support provided by WSL.