My post-installation configuration

Forum Forums General Tips and Tricks My post-installation configuration

  • This topic has 0 replies, 1 voice, and was last updated Jul 1-8:46 am by macondo.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #38405
    Member
    macondomacondo

    Again folks, this is very subjective, just the way I do things, it’s not written on stone 🙂

    After installing antiX, the first thing I configure is sudo.

    # visudo

    Put this line at the bottom of the file:

    <your_user_name> ALL=NOPASSWD:ALL

    save/exit/reboot

    If you use nano,

    # nano /etc/sudoers

    ditto as above.

    Next, aliases make my life easier,

    $ nano .bash_aliases

    Paste this:

    alias adu="sudo apt-get update && sudo apt-get dist-upgrade"
    alias agi="sudo apt-get install"
    alias as="apt-cache search"
    alias ash="apt-cache show"

    logout/login and test it as USER:

    $ adu

    Go to .nanorc and type this:

    set smooth

    UFW (Uncomplicated Firewall)

    # apt-get install ufw
    # ufw enable
    # ufw status
    # reboot

    After coming back do another ‘ufw status’ to find out if the firewall
    is working.

    To avoid pinging: go to:

    # nano /etc/ufw/before.rules

    And leave this section looking like this:

    # ok icmp codes
    -A ufw-before-input -p icmp --icmp-type destination-unreachable -j DROP
    -A ufw-before-input -p icmp --icmp-type source-quench -j DROP
    -A ufw-before-input -p icmp --icmp-type time-exceeded -j DROP
    -A ufw-before-input -p icmp --icmp-type parameter-problem -j DROP
    -A ufw-before-input -p icmp --icmp-type echo-request -j DROP

    Next, go to http://www.grc.com and click on ShieldsUp, next screen scroll down to Hot
    Spots, and click on ShieldsUp again, next screen click on Proceed, next screen
    click on All Service Ports and let it check the ports, gives an ok result, the
    ports are neon green, and gives you this veredict:

    “Your system has achieved a perfect “TruStealth” rating. Not a single packet —
    solicited or otherwise — was received from your system as a result of our
    security probing tests. Your system ignored and refused to reply to repeated
    Pings (ICMP Echo Requests). From the standpoint of the passing probes of any
    hacker, this machine does not exist on the Internet. Some questionable personal
    security systems expose their users by attempting to “counter-probe the prober”,
    thus revealing themselves. But your system wisely remained silent in every way.
    Very nice.”

    Startup
    To start your apps and window manager: go to .xinitrc as USER,

    $ nano .xinitrc

    Put this:

    #!/bin/sh
    
    firefox &
    setxkbmap -option terminate:ctrl_alt_bksp
    xsetroot -solid black
    unclutter -idle 2 &
    numlockx &
    
    exec <window manager>

    I think this is about it, thanks for your patience.

    Happy trails,
    macondo

    • This topic was modified 1 month ago by macondo.
    • This topic was modified 1 month ago by masinick.

    antiX Core 64 Bit Runit XFS JWM

    "Sometimes a man finds his destiny on the road he took to avoid it."

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.