FreeBSD Bugzilla – Attachment 249025 Details for
Bug 277578
www/minio setup root account in rc.conf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch to set root account
file_277578.txt (text/plain), 1.49 KB, created by
Sven Ruediger
on 2024-03-08 13:02:03 UTC
(
hide
)
Description:
patch to set root account
Filename:
MIME Type:
Creator:
Sven Ruediger
Created:
2024-03-08 13:02:03 UTC
Size:
1.49 KB
patch
obsolete
>diff --git a/www/minio/files/minio.in b/www/minio/files/minio.in >index 4ea13284066c..688557f0d975 100644 >--- a/www/minio/files/minio.in >+++ b/www/minio/files/minio.in >@@ -23,6 +23,12 @@ > # Set it to user to run minio under > # minio_group (str): Set to "minio" by default. > # Set it to group to run minio under >+# minio_root_user (str): Set to "minioadmin" by default. >+# Set root username >+# minio_root_password (str): Set to "minioadmin" by default. >+# Set root's password >+# minio_root_access (str): Set to "on" by default. >+# Set to "off" to disable root access > # minio_logfile (str): Set to "/var/log/minio.log" by default. > # Set it to file where stdout/stderr are logged. > # minio_syslog_enable (bool): Set to YES by default >@@ -49,9 +55,16 @@ load_rc_config ${name} > : ${minio_console_address=""} > : ${minio_user:="%%USER%%"} > : ${minio_group:="%%GROUP%%"} >+: ${minio_root_user:="minioadmin"} >+: ${minio_root_password:="minioadmin"} >+: ${minio_root_access:="on"} > : ${minio_syslog_enable:="YES"} > : ${minio_logfile:="/var/log/minio.log"} > >+export MINIO_ROOT_USER="${minio_root_user}" >+export MINIO_ROOT_PASSWORD="${minio_root_password}" >+export MINIO_API_ROOT_ACCESS="${minio_root_access}" >+ > start_precmd="minio_start_precmd" > > if checkyesno minio_syslog_enable; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 277578
: 249025