I am trying to change use a different password on mini. I followed the guide. First time around executed it via sudo (since the guide uses /data
folder) and then cleaned everything up (deleted /data as well as .minio dir).
Trying to set the variables...
export MINIO_ROOT_USER=otheruser
export MINIO_ROOT_PASSWORD=otherpass
./minio server /home/debian/data/
... only results in Invalid Credentials
message. Same case for...
export MINIO_ROOT_USER=otheruser
export MINIO_ROOT_PASSWORD=otherpass
export MINIO_ROOT_USER_OLD=minioadmin
export MINIO_ROOT_PASSWORD_OLD=minioadmin
./minio server /home/debian/data/
...which also gives the same result. If i set both variables to minioadmin, it all works.
How do i change the admin account?
EDIT 1:
I also tried executing everything with sudo -E. Doing so, for both options, does nothing (throws same exception).
EDIT 2:
I have tried clean new install of whole machine. Even with that and without ever using sudo
this time, it doesn't work.