wings/server
Michael Parker 49b00fc48a
resolve issues with missing user in containers
This change resolves an issue in container where the user id is not found.

This will create a passwd file with a single line that is for the container user using the uid and gid of the pterodactyl user.

As an added security benefit this would also stop users being able to just use `/bin/bash` as it sets the users terminal to nologin by default and is configurable

example passwd file contents  
`container999:999::/home/container:/usr/sbin/nologin`
2023-08-12 17:26:23 -04:00
..
backup Ensure files are closed after they are done being used 2023-01-17 18:34:08 -07:00
filesystem server(filesystem): fix test failure 2023-05-10 12:59:22 -06:00
installer Streaming Transfers (#153) 2022-11-14 18:25:01 -07:00
transfer server(transfer): fix dead-lock while uploading archive 2022-11-29 14:04:27 -07:00
activity.go chore: reformat code 2022-10-06 09:58:42 -06:00
backup.go server(filesystem): fix inaccurate archive progress (#145) 2022-11-06 13:38:30 -07:00
config_parser.go Add additional debug points to server start process 2022-01-31 19:30:07 -05:00
configuration.go Add customizable container labels (#146) 2022-10-16 17:17:27 -06:00
console_test.go run gofumpt 2022-02-23 15:02:19 -07:00
console.go chore: reformat code 2022-10-06 09:58:42 -06:00
crash.go environment(docker): improve logging and stacks 2023-01-17 11:47:27 -07:00
errors.go run gofumpt 2021-11-15 10:37:56 -07:00
events.go Streaming Transfers (#153) 2022-11-14 18:25:01 -07:00
install.go server(install): remove privileges from install container 2023-05-10 12:35:46 -06:00
listeners.go chore: reformat code 2022-10-06 09:58:42 -06:00
manager.go Add customizable container labels (#146) 2022-10-16 17:17:27 -06:00
mounts.go resolve issues with missing user in containers 2023-08-12 17:26:23 -04:00
power_test.go chore: reformat code 2022-10-06 09:58:42 -06:00
power.go chore: reformat code 2022-10-06 09:58:42 -06:00
resources.go Cleanup logic for updating stats to avoid calling mutex outside of file 2022-01-30 11:55:59 -05:00
server.go environment(docker): improve logging and stacks 2023-01-17 11:47:27 -07:00
update.go Fix logic for context based environment stopping 2022-01-31 19:09:08 -05:00
websockets.go Close websocket connections and allow the client to re-connect on send errors; ref pterodactyl/panel#3596 2021-10-24 16:14:00 -07:00