Windows 10 - Bash (Ubuntu) SU (Root Password) [closed]
Recently updated to Windows 10, installed Ubuntu Bash. Wanted to start configuring, But I have hit a wall already.
When installed, you are asked for a username and password for your account. This creates a user level.
Is it possible to access to root user, SU?
Every time I try, it asks for a password, and none of the accounts on the PC work (i.e., Windows 10 admin account password does not work). Tried default passwords too etc., all fail.
The reason for it is when looking at the users home directory: When creating a file, it creates it under my Windows User Account (Permissions).
But when I view files created from Bash, they are created for Root user.
So this is the confusion, I modified bashrc
and it's no longer owned by root, So it's not accessible.
But I cannot login to root to create or modify the files.
Am I being a complete noob or something?
When bashrc
is not owned by Root, when loading Bash.exe
, I get .bashrc Input/output error
.
as far as i know you'll have to type "sudo su"