diff --git a/docs/getting-started/servers/centos7.md b/docs/getting-started/servers/centos7.md index 83c4212..23983e0 100644 --- a/docs/getting-started/servers/centos7.md +++ b/docs/getting-started/servers/centos7.md @@ -60,6 +60,18 @@ sudo firewall-cmd --add-service=http --permanent sudo firewall-cmd --reload ``` +#### Change /etc/sudoers settings + +Comment string "Defaults requiretty" to avoid error "sudo: sorry, you must have a tty to run sudo", that prevents Java service from starting. Details here https://github.com/cBackup/main/issues/18 + +``` +#sudo visudo + +Find string and comment it out with # + +#Defaults requiretty +``` + #### Download cbackup RPM and install it ```bash