...
Code Block |
---|
systemctl status chrony chronyc sources |
Warning when using git as root
The following command makes it (intentionally) more difficult to use git as the root user.
Code Block |
---|
cat |
...
<<EOFF >> ~/.bashrc |
...
alias git='printf "It looks like you are trying to run GIT as ROOT.\nFor jtel installations, GIT should always be run from the jtel user.\nIf you really want to run git as root, you will need to access it directly, using /usr/bin/git for example.\n"' |
...
EOFF source ~/.bashrc |