mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-20 06:02:24 +00:00
fix PS1 for non tsec user
ensure prompt looks the same for all users, especially WRT `auto` and `user` install
This commit is contained in:
parent
13e86a04e8
commit
5890fa42a1
1 changed files with 4 additions and 1 deletions
|
@ -742,10 +742,13 @@ tee -a /root/.bashrc 2>&1>/dev/null <<EOF
|
|||
$myROOTPROMPT
|
||||
PATH="$PATH:/opt/tpot/bin"
|
||||
EOF
|
||||
tee -a /home/tsec/.bashrc 2>&1>/dev/null <<EOF
|
||||
for i in $(ls -d /home/*/)
|
||||
do
|
||||
tee -a $i.bashrc 2>&1>/dev/null <<EOF
|
||||
$myUSERPROMPT
|
||||
PATH="$PATH:/opt/tpot/bin"
|
||||
EOF
|
||||
done
|
||||
|
||||
# Let's create ews.ip before reboot and prevent race condition for first start
|
||||
/opt/tpot/bin/updateip.sh 2>&1>/dev/null
|
||||
|
|
Loading…
Reference in a new issue