Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More documentation after installing Amazon2 #11

Closed
Rizary opened this issue Dec 14, 2020 · 2 comments
Closed

More documentation after installing Amazon2 #11

Rizary opened this issue Dec 14, 2020 · 2 comments

Comments

@Rizary
Copy link

Rizary commented Dec 14, 2020

I try to run the command after installing that mentioned in README.md.

When I run .\Amazon2.exe config --default-user rizary, I got the following error:

ERROR
HRESULT:0x80004005
Press any key to continue...

It's a fresh install. Do I need to run it as root first and then adding the user there? Or users are automatically added like any other WSL2 distro?

@yosukes-dev
Copy link
Owner

After installation, when you run id, you get the following output.

-bash-4.2# id
uid=0(root) gid=0(root) groups=0(root)

and when you run cat /etc/passwd

-bash-4.2# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
systemd-network:x:192:192:systemd Network Management:/:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
polkitd:x:999:998:User for polkitd:/:/sbin/nologin

As you can see from the above, the default user is root, and you need to add your own user.
These are basic parts of using Linux, and I don't think they are within the scope of what this repository covers.

@yosukes-dev
Copy link
Owner

Duplicate of #14

@yosukes-dev yosukes-dev marked this as a duplicate of #14 Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants