mirror of
https://github.com/bitnami/containers.git
synced 2026-03-14 14:58:01 +08:00
9 lines
259 B
Bash
Executable File
9 lines
259 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright VMware, Inc.
|
|
# SPDX-License-Identifier: APACHE-2.0
|
|
|
|
useradd -ms /bin/bash bitnami
|
|
mkdir -p /opt/bitnami
|
|
sed -i -e 's/\s*Defaults\s*secure_path\s*=/# Defaults secure_path=/' /etc/sudoers
|
|
echo 'bitnami ALL=NOPASSWD: ALL' >> /etc/sudoers
|