Skip to content

Commit

Permalink
banners
Browse files Browse the repository at this point in the history
  • Loading branch information
nothub committed Oct 26, 2023
1 parent b17a6f0 commit ca1af02
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ xorriso -indev "${iso_file}" \
-map "installer/late.sh" "/late.sh" \
-map "installer/splash.png" "/isolinux/splash.png" \
-map "configs/motd" "/configs/motd" \
-map "configs/issue" "/configs/issue" \
-map "configs/issue.net" "/configs/issue.net" \
-map "configs/sshd_config" "/configs/sshd_config" \
-map "configs/bashrc.bash" "/configs/bashrc.bash" \
-map "configs/authorized_keys" "/configs/authorized_keys" \
Expand Down
2 changes: 2 additions & 0 deletions configs/issue
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
\S{PRETTY_NAME}
ip: \4
14 changes: 14 additions & 0 deletions configs/issue.net
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
_______________________________________________________________
/ \ \.
| | Achtung Alles Lookenskepers! |.
\_ | |.
| Das computermachine ist nicht fuer gefingerpoken und |.
| mittengrabben. Ist easy schnappen der springenwerk, |.
| blowenfusen und poppencorken mit spitzensparken. |.
| Ist nicht fuer gewerken bei das dumpkopfen. |.
| Das rubbernecken sichtseeren keepen hans in das pockets. |.
| Only relaxen und watchen das blinkenlights... |.
| __________________________________________________________|___
| / /.
\_/-------------------------------------------------------------/.

5 changes: 3 additions & 2 deletions configs/motd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
. . . . . . . .
 . . . . . . . .
: . . . . +
-+- ._-o#&&*''''?d:>b\_ * . / ,
' ._o/"`'' '',, dMF9MMMMMHo_ O / .
Expand All @@ -17,4 +17,5 @@
____^/\___^--____/\___________________/\/\---/\___________---______________-
/\^ ^ ^ ^ ^^ ^ '\ ^ ^ --- -
-- - -- - - --- __ ^
-- __ ___-- ^ ^ -- __
-- __ ___-- ^ ^ -- __

2 changes: 2 additions & 0 deletions configs/sshd_config
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ LogLevel VERBOSE
# Log sftp level file access (read/write/etc.) that would not be easily logged otherwise.
Subsystem sftp /usr/lib/openssh/sftp-server -f AUTHPRIV -l INFO

Banner /etc/issue.net

PermitRootLogin No
LoginGraceTime 1m
UseDNS no
Expand Down
2 changes: 2 additions & 0 deletions installer/late.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ admin="@USERNAME@"

# custom configs
cp -a "/cdrom/configs/motd" "${prefix}/etc/motd"
cp -a "/cdrom/configs/issue" "${prefix}/etc/issue"
cp -a "/cdrom/configs/issue.net" "${prefix}/etc/issue.net"
cp -a "/cdrom/configs/sshd_config" "${prefix}/etc/ssh/sshd_config"
cp -a "/cdrom/configs/bashrc.bash" "${prefix}/etc/skel/.bashrc"
cp -a "/cdrom/configs/bashrc.bash" "${prefix}/root/.bashrc"
Expand Down

0 comments on commit ca1af02

Please sign in to comment.