challenge: Inclure a fake history and a basic profile
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
67abbb5b85
commit
b18ea19e03
2 changed files with 25 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue