2
3
I have noticed while browsing the Windows blog for information about the latest Insider Preview release (Build No. 14316), that the bash
when installed gives you a root prompt by default. Notwithstanding security issues like rm -rf C:/
(WSL supports Windows filesystem access), can the sudo
behavior of the Ubuntu 14.04 LTS base not be replicated by default, as in, bash
gives you a user-level prompt on startup and you can then sudo
to root
as and when you need it?
Does root
map to Administrator or System? Also, what is the expected behavior of chmod
and chown
under these circumstances? Do the Windows users and groups get directly reflected to the Ubuntu base through WSL, or is there something in between?
So the root login refers only to the current user? – Tamoghna Chowdhury – 2016-04-08T08:33:55.863
Dumb question previously. So 1 Windows user can spawn more Linux child users via
adduser
for example (if that has been implemented?) – Tamoghna Chowdhury – 2016-04-08T08:35:16.407@TamoghnaChowdhury - Seems like something you should verify if its the case or not. – Ramhound – 2016-04-08T12:29:54.853
@Ramhound Unfortunately I'm not old enough to be a legitimate Windows Insider :( – Tamoghna Chowdhury – 2016-04-08T13:30:46.370
@TamoghnaChowdhury - Its not like the Windows police will come to your door. Unless you actually tell Microsoft that is the case they won't actually know. – Ramhound – 2016-04-08T13:36:15.043
@Ramhound Very well. I'll try it as and when I get the opportunity. – Tamoghna Chowdhury – 2016-04-08T13:37:43.820
Yes
adduser
or Debian'suseradd
work and you can switch to the new user withsu <username>
. I just tried it. – LiveWireBT – 2016-04-08T13:43:57.143