錯誤訊息
remote: error: refusing to update checked out branch: refs/heads/master
git config --bool core.bare true
錯誤訊息
remote: error: refusing to update checked out branch: refs/heads/master
git config --bool core.bare true
cat >/etc/profile.d/autologout.sh <<EOF
#!/bin/bash
export TMOUT=3600
EOF
SSH相關設定
編輯 /etc/ssh/sshd_config
ClientAliveInterval 3600
ClientAliveCountMax 0
錯誤訊息
because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
修改設定檔
/etc/logrotate.conf
/etc/logrotate.d/*
加入 su root root 設定
apt install pip
pip install setproctitle --break-system-packages
gio set -t string "$f" metadata::xfce-exe-checksum "$(sha256sum "$f" | awk '{print $1}')"