-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Slight re-wording/text inserts #651
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
base: master
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -174,4 +174,4 @@ Allocation is a combination of IP and Port that you can assign to a server. Each | |
|
|
||
|  | ||
|
|
||
| Type `hostname -I | awk '{print $1}'` to find the IP to be used for the allocation. Alternatively, you can type `ip addr | grep "inet "` to see all your available interfaces and IP addresses. Do not use 127.0.0.1 for allocations. | ||
| Type `hostname -I | awk '{print $1}'` to find the IP to be used for the allocation. Alternatively, you can type `ip addr | grep "inet "` to see all your available interfaces and IP addresses. Do not use 127.0.0.1 for allocations, *unless you know what you are doing/using a [Minecraft Proxy](https://pterodactyl.io/community/games/minecraft.html)*. | ||
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont think it's a good idea to recommend that because it's a security risk and afaik not needed in 99% of the cases (and if needed then they prob is a file perm issue)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put it there to try and follow through with the first install segment, as that has the same thing too, and I feel it sometimes causes issues for people
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it as change though but if it's added prob add a warning on the impact of that env var
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As composer's own documentation states, composer shouldn't be run as root.
Instead of arbitrarily ignoring the warning, it's perhaps best to guide people to composer's documentation instead, although, I don't believe it should be up to pterodactyl's documentation to solve every single problem unrelated to pterodactyl itself.
https://getcomposer.org/doc/faqs/how-to-install-untrusted-packages-safely.md#why-am-i-seeing-a-do-not-run-composer-as-root-super-user-warning-error-
The catch-all phrase under getting started should apply to this:
If you expect to be able to install this with no understanding of basic linux system administration you should stop and turn around now.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, composer do not recommend running as root, and we don't recommend people do. Sometimes people do so, and it's fine, but we shouldn't recommend it.
When running the existing command as root, people are given an option to proceed anyway. Thanks though!