Comments (7)
There is no default root password, you can change it with passwd though
WSL Ver: You check the zip name you downloaded from github.
Launcher Ver: You typed the wrong command for launcher version, Arch.exe version
.
from archwsl.
The problem could not be confirmed in my environment.
Did you see any errors with passwd
?
from archwsl.
Never had a problem with password.. Close?
from archwsl.
I encountered this issue, following the instruction to set password, and the password was verified to be wrong. And, I used the latest version:18100800 on windows 10 1809.
Reproduce :
arch.exe console :
[root@WIN-XXXXXXXXXXX ~]# passwd
New password:hello
Retype new password:hello
passwd: password updated successfully
[root@WIN-XXXXXXXXXXX ~]# EDITOR=vim visudo
%wheel ALL=(ALL) ALL
(removed the "#" and saved)
useradd -m -G wheel -s /bin/bash john
windows dos-prompt (admin) :
Arch.exe config --default-user john
arch.exe console :
[john@WIN-XXXXXXXXXXX ~]$ sudo pacman-key --init
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for john:hello
Sorry, try again.
[sudo] password for john:
Thank you for any help you can provide.
from archwsl.
you set the password of root not john
from archwsl.
I updated the wiki because there was a deficiency in the explanation...
Please set the default user password separately from the root password.
from archwsl.
I'm back and thanks for all the help from community.
I followed the new wiki, and created the password for both root and user, but still can't solve the issue. I tried to search about "wheel" and find the instruction here ( https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/2/html/Getting_Started_Guide/ch02s03.html ) can approve my user password,
The commands there are somewhat different, like :
$ useradd USERNAME
$ passwd USERNAME
$ visudo
%wheel ALL=(ALL) ALL
(remove the "#")
$ usermod -aG wheel USERNAME
Actually I tried yuk7 another project "wsldl" and build ubuntu 18.04, but add a line at /etc/sudoers (searched from internet), like this : (require to change file "sudoers" to be writable by "chmod u+w sudoers")
root All=(ALL:ALL) ALL
john ALL=(ALL:ALL) ALL
(add this line only, john is username.)
(save and make file sudoers return to be read-only by "chmod u-w sudoers")
Now I find both the builds of ubuntu and arch can run together. so I'm a happy user to learn arch linux things now.
from archwsl.
Related Issues (20)
- 更新
- Installation Fails HOT 5
- Failed to connect to coredump service: No such file or directory
- Pacman too far out of date HOT 4
- Kernel crashes when enable systemd on wsl2 HOT 1
- Uninstall will close your Hyper-V!!!!! HOT 1
- ERR: An illegal state change was requested. HOT 1
- VK_ERROR_INCOMPATIBLE_DRIVER in WSL2, can't open GUI apps HOT 5
- X11 display socket gone ("Error: Can't open display: :0") HOT 4
- `sudo pacman -Su` results in errors HOT 2
- Missing implementation of get_mempolicy and NUMA support HOT 6
- Cannot install anymore HOT 1
- Cannot change the default user with arch.exe HOT 3
- Problem with Docker and language change HOT 18
- result of `which` is `/usr/sbin`
- Arch_Online.zip uses very old rootfs HOT 2
- How i reset my password?
- glibc-linux4 has been removed in archlinuxcn sources HOT 1
- can't start wslg HOT 3
- systemctl initializing HOT 21
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from archwsl.