mc admin user 的 enable 子命令用来启用 MinIO 用户,语法如下:
C:\>mc admin user enable -h NAME: mc admin user enable - enable user USAGE: mc admin user enable TARGET USERNAME FLAGS: --config-dir value, -C value path to configuration folder (default: "C:\\Users\\Administrator\\mc") --quiet, -q disable progress bar display --no-color disable color theme --json enable JSON lines formatted output --debug enable debug output --insecure disable SSL certificate verification --help, -h show help
(1)在 MinIO 服务器上启用禁用的用户 'foobar'。
D:\server\minio>mc admin user enable local foobar Enabled user `foobar` successfully.