challenge: Inclure a fake history and a basic profile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2023-02-20 20:17:21 +01:00
commit b18ea19e03
2 changed files with 25 additions and 6 deletions

View file

@ -72,6 +72,25 @@ files:
- path: init
source: pkg/challenge/init
mode: "0755"
- path: root/.ash_history
contents: |
cat my_ip
ip a
man 6 adlin
mode: "0644"
- path: etc/profile.d/cmd-colors.sh
contents: |
alias ip="ip -c"
alias ls="ls -c"
export LESS_TERMCAP_mb=$(printf "\e[1;37m")
export LESS_TERMCAP_md=$(printf "\e[1;36m")
export LESS_TERMCAP_me=$(printf "\e[0m")
export LESS_TERMCAP_se=$(printf "\e[0m")
export LESS_TERMCAP_so=$(printf "\e[1;47;30m")
export LESS_TERMCAP_ue=$(printf "\e[0m")
export LESS_TERMCAP_us=$(printf "\e[1;32m")
mode: "0644"
- path: sbin/fakelogin
contents: |
#!/bin/sh