Update build-doc-and-os.yml

This commit is contained in:
Ace 2023-07-28 00:39:47 +02:00 committed by GitHub
parent 7618f96dba
commit aa9ebe942d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,9 +108,6 @@ jobs:
# fix permissions of Inkycal folder recursively # fix permissions of Inkycal folder recursively
sudo chown -R inky:inky /home/inky/Inkycal sudo chown -R inky:inky /home/inky/Inkycal
# set hostname to inkycal-lite
sudo sh -c 'echo "inkycal-lite" > /etc/hostname; hostnamectl set-hostname inkycal-lite; sed -i "s/127.0.1.1.*/127.0.1.1\tinkycal/g" /etc/hosts'
# make all users require a password for sudo commands (improves security) # make all users require a password for sudo commands (improves security)
echo 'ALL ALL=(ALL:ALL) PASSWD: ALL' | sudo tee -a /etc/sudoers.d/010_require_sudo_password echo 'ALL ALL=(ALL:ALL) PASSWD: ALL' | sudo tee -a /etc/sudoers.d/010_require_sudo_password
history -cw history -cw