You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The metapackage "Development tools" includes the `gcc` compiler, and any other required buildtools for `npm` packages. Depending on your distrobution, `dnf groupinstall` will differ, e.g., `apt install build-essential` on `apt`-based distros.
27
+
The metapackage "Development tools" includes the `gcc` compiler, and any other required buildtools for `npm` packages. Depending on your distribution, `dnf groupinstall` will differ, e.g., `apt install build-essential` on `apt`-based distros.
28
28
29
-
All the following steps from here out should be executed as your normal, unprivileged user.
29
+
All the following steps from here out should be executed as your normal, unprivileged user. This user does not need `sudo` privileges.
The SSL certificates in the standard location require `root` permissions. Rather than adjust _any_ permissions, and to still maintain the appropriate file structure, these files can be put into `~/.local`.
66
+
The SSL certificates in the standard location require `root` permissions. Rather than adjust _any_ permissions--and to still maintain the appropriate file structure--these files can be put into `~/.local`, too.
`proot` is a utility to allow userland overlays of files and directories over traditionally `root`-owned locations. In the previous steps, `~/.local` was used to reproduce an ordinary `/etc` filetree. The same could be done for `nsolid`and `java`(using `~/.local/opt`, for example). The usage below helps demonstrate the scope and utility of `proot`.
100
+
`proot` is a utility to allow userland overlays of files and directories over traditionally `root`-owned locations. In the previous steps, `~/.local` was used to reproduce an ordinary `/etc` filetree. The same could be done for `nsolid` (using `~/.local/opt/nsolid`, for example). The usage section below helps demonstrate the scope and utility of `proot`.
101
101
102
102
See documentation here: https://proot-me.github.io/
103
103
@@ -109,11 +109,11 @@ Due to the unprivileged user being used to host this process, server init comman
109
109
110
110
## PROOT, ROOT-FAKER
111
111
112
-
`proot`'s primary function with the webui is to present replacement authentication files, e.g., `/etc/{passwd, group, shadow}`owned by the user: it contains no authentic system user information and can be managed separately even from the linux user's password. In actuality, no such privilege execution occurs, but this file overlay allows use of `/etc/{passwd,group,shadow,mineos.conf}` where it otherwise would be restricted.
112
+
`proot`'s primary function with the webui is to present replacement authentication filesowned by `$USER`: it contains no authentic system user information and is separate from the linux user's password. In actuality, no such privilege escalation occurs, but this file overlay allows use of `/etc/{passwd,group,shadow,mineos.conf}` where it otherwise would be restricted.
113
113
114
-
`proot` can execute any program while also overlaying just the specific files. Without a particular file to run, `proot` will default to `/bin/sh`. Alternate shells can be used, and even run the webui.
114
+
`proot` can execute any program while also overlaying just the specific files. Without a particular file to run, `proot` will default to `/bin/sh`. Alternate shells can be used, and even run the webui.
115
115
116
-
This step will use normal linux utilities to generate passwords and groups.
116
+
This step will use normal linux utilities to generate passwords and groups. Enter a `proot` subshell, then generate local versions of the authentication files. `$UIPW` is the webui password to accompany `$USER`.
Enter a `proot` subshell, then generate local versions of the authentication files.
129
-
130
128
## USAGE
131
129
132
-
Start a new terminal session, which will demonstrate whether the $PATH vars have successfully taken. Finally use `proot` to start the webui process. This invocation will only overwrite four mineos-specific files which must be user-readable; all other files in `/etc` are now inherited.
130
+
Start a new terminal session, which will demonstrate whether the $PATH vars have successfully taken. Then, use `proot` to start the webui process. This invocation will only overwrite four mineos-specific files which must be user-readable; all other files in `/etc` are now inherited.
Once the daemon is running, you can visit `https://[ipaddress]:8443` in your web browser and you will see a user and password prompt. Log in with your normal username and password selected from the previous `prot` step.
137
+
Once the daemon is running, you can visit `https://[ipaddress]:8443` in your web browser and you will see a user and password prompt. Log in with your normal username and password selected from the previous `proot` step.
0 commit comments