Skip to content
Snippets Groups Projects
Verified Commit 709fcf5a authored by David Beniamine's avatar David Beniamine
Browse files

Disable lock sessions

parent d5073c0c
Branches
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@
login=abc
VNC_HOME=/config
gsettings set org.mate.screensaver lock-enabled false
if [ "$SUDO" == "true" ]; then
if [ -z "$(grep 'alias sudo' $VNC_HOME)" ]; then
echo 'alias sudo="cat /etc/sudoers.lecture; sudo $@"' >> $VNC_HOME/.bashrc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment