mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com> Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
11 lines
210 B
Bash
11 lines
210 B
Bash
#!/usr/bin/env bash
|
|
|
|
if getent passwd "$LOGNAME" | grep -e 'root' | grep -e '/usr/sbin/nologin'
|
|
then
|
|
chsh -s /bin/bash root
|
|
passwd -l root
|
|
fi
|
|
|
|
apt-get update
|
|
apt-get install --no-install-recommends -y tmux
|