...
Code Block | ||||
---|---|---|---|---|
| ||||
cp -a /root/.inputrc /home/jtel chown -R jtel:jtel /home/jtel/.inputrc |
Root hinweis für GIT
Die nachfolgende Befehle machen das Ausführen von GIT als root schwieriger, da dies immer im Kontext vom jtel user geschehen soll:
Code Block | ||||
---|---|---|---|---|
| ||||
cat <<EOFF >> ~/.bashrc
alias git='echo "It looks like you are trying to run GIT as ROOT. For jtel installations, GIT should always be run from the jtel user. If you really want to run git as root, you will need to access it directly, using /usr/bin/git for example."'
EOFF
source ~/.bashrc |
SSH Keys auf root übertragen
...