summaryrefslogtreecommitdiffstats
path: root/root/.bash_aliases
diff options
context:
space:
mode:
Diffstat (limited to 'root/.bash_aliases')
-rw-r--r--root/.bash_aliases4
1 files changed, 4 insertions, 0 deletions
diff --git a/root/.bash_aliases b/root/.bash_aliases
index 7ce1390..eefa6c3 100644
--- a/root/.bash_aliases
+++ b/root/.bash_aliases
@@ -43,3 +43,7 @@ export EDITOR=/usr/bin/vim
ulimit -c unlimited # core dumps
alias pi="python3 -m pip install --user --break-system-packages"
alias pu="python3 -m pip uninstall --break-system-packages"
+if [ `id -u` -eq 0 ]
+then
+ alias binwalk="binwalk --run-as=root"
+fi