mirror of
https://github.com/bitnami/containers.git
synced 2026-03-13 06:48:08 +08:00
7 lines
234 B
Bash
Executable File
7 lines
234 B
Bash
Executable File
#!/bin/bash
|
|
|
|
useradd -ms /bin/bash bitnami
|
|
mkdir -p /opt/bitnami && chown bitnami:bitnami /opt/bitnami
|
|
sed -i -e 's/\s*Defaults\s*secure_path\s*=/# Defaults secure_path=/' /etc/sudoers
|
|
echo 'bitnami ALL=NOPASSWD: ALL' >> /etc/sudoers
|