sabotage linux setup

sabotage | build chroot | docker image | pkg build | xen guest

assuming system is already tuned in case of docker or xen

post-installation

check connection

    ping -c3 opendns.com

make sure you don’t use more make jobs that you have cpu cores

grep ^proc /proc/cpuinfo
    vi /src/config

    export MAKE_THREADS=3

install a few packages

–either– check default trust store is up

    update-ca-certificates

–or– eventually put some certs in place

    cd /etc/ssl/
    wget https://curl.se/ca/cacert.pem

eventually switch to BASH by default

    vi /etc/passwd

    root:x:0:0:root:/root:/bin/bash

and eventually further tune your environment with screen and bash

vi /etc/profile
(( `id -u` == 0 )) && PS1="$HOSTNAME# " || PS1="$HOSTNAME> "

case "$-" in *i*)
        alias ll='ls --group-directories-first --color=auto -alh'
        alias ls='ls --group-directories-first --color=auto'
        alias cp='cp -i'
        alias mv='mv -i'
        alias rm='rm -i'
        ;;
esac
vi /root/.bashrc

source /etc/profile

–OR– MKSH

    #butch search ksh
    #butch install mksh
    #ln -s mksh /bin/ksh

additional notes

create a user with busybox

    adduser -s /bin/sh -G GROUPNAME -D USERNAME
    chmod 700 /home/USERNAME/

    # -D              Don't assign a password

resources

http://sabo.xyz/

https://sabotage-linux.github.io/

https://sabotage-linux.neocities.org/

news

https://sabotage-linux.neocities.org/blog/11/

code repos

https://github.com/sabotage-linux/sabotage

https://codeberg.org/sabotage-linux/sabotage/

history

https://github.com/leahneukirchen/sabotage

https://github.com/pikhq/sabotage

https://github.com/rofl0r

https://www.openwall.com/lists/sabotage/


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun