Monday, November 1, 2021

Task Manager in Windows 11

Task Manager in Windows 11

In Windows 10 you can start Task Manger by
    Right click the taskbar >> Task Manager

But that doesn't work anymore!

In Windows 11
Right-click the taskbar in Windows 11 only shows "Taskbar Settings"

So there's three choices:

Via Task Manager shortcut
    Ctrl+Shift+Esc is the direct keyboard shortcut

Via WinX menu
    Right click the Windows start button >> Task Manager
    or
    Press Windows Key+X to get the same pop-up menu >> Task Manager

Via Windows search
    Click start >> type "Task Manager"
    Click the shortcut that says "App"






















Thursday, September 30, 2021

nxlog conf file

 My nxlog.conf file for the lab


///////////////////////////////////////////////////////////////


Panic Soft

#NoFreeOnExit TRUE


define ROOT     C:\Program Files (x86)\nxlog

define CERTDIR  %ROOT%\cert

define CONFDIR  %ROOT%\conf

define LOGDIR   %ROOT%\data

define LOGFILE  %LOGDIR%\nxlog.log

LogFile %LOGFILE%


Moduledir %ROOT%\modules

CacheDir  %ROOT%\data

Pidfile   %ROOT%\data\nxlog.pid

SpoolDir  %ROOT%\data


<Extension _gelf>

    Module      xm_gelf

</Extension>

<Input from_eventlog>

    Module      im_msvistalog

    ReadFromLast FALSE

    SavePos      TRUE

</Input>

<Output out>

    Module      om_udp    

    Host        192.168.1.2

    Port        12201

    #Exec       to_syslog_snare();

    OutputType  GELF

</Output>

<Route 1>

    Path from_eventlog => out

</Route>


<Extension _fileop>

    Module      xm_fileop


    # Check the size of our log file hourly, rotate if larger than 5MB

    <Schedule>

        Every   1 hour

        Exec    if (file_exists('%LOGFILE%') and \

                   (file_size('%LOGFILE%') >= 5M)) \

                    file_cycle('%LOGFILE%', 8);

    </Schedule>


    # Rotate our log file every week on Sunday at midnight

    <Schedule>

        When    @weekly

        Exec    if file_exists('%LOGFILE%') file_cycle('%LOGFILE%', 8);

    </Schedule>

</Extension>


Monday, September 27, 2021

Graylog Notes

I'm using the Graylog OVA, imported into VirtualBox

I'm setting up a syslog UDP input on Graylog 

Need to redirect port 514 to port 1514

sudo iptables -t nat -A PREROUTING -p udp --dport 514 -j REDIRECT --to-port 1514



Monday, August 30, 2021

All Items In Satisfactory (Update 4) (Sorted)

 Here's the Satisfactory (Update 4) item list, but alphabetically sorted.



Adaptive Control Unit
AI Limiter
Alclad Aluminum Sheet
Alumina Solution
Aluminum Casing
Aluminum Ingot
Aluminum Scrap
Assembly Director System
Automated Wiring
Battery
Bauxite
Beacon
Biomass
Black Powder
Cable
Caterium Ingot
Caterium Ore
Circuit Board
Coal
Color Cartridge
Compacted Coal
Computer
Concrete
Cooling System
Copper Ingot
Copper Ore
Copper Powder
Copper Sheet
Crude Oil
Crystal Oscillator
Electromagnetic Control Rod
Empty Canister
Empty Fluid Tank
Encased Industrial Beam
Encased Plutonium Cell
Encased Uranium Cell
Fabric
FICSIT Coupon
Flower Petals
Fuel
Fused Modular Frame
Gas Filter
Green Power Slug
Heat Sink
Heavy Modular Frame
Heavy Oil Residue
High-Speed Connector
Iodine Infused Filter
Iron Ingot
Iron Ore
Iron Plate
Iron Rod
Leaves
Limestone
Liquid Biofuel
Magnetic Field Generator
Modular Engine
Modular Frame
Motor
Mycelia
Nitric Acid
Nitrogen Gas
Nobelisk
Non-fissile Uranium
Nuclear Pasta
Packaged Alumina Solution
Packaged Fuel
Packaged Heavy Oil Residue
Packaged Liquid Biofuel
Packaged Nitric Acid
Packaged Nitrogen Gas
Packaged Oil
Packaged Sulfuric Acid
Packaged Turbofuel
Packaged Water
Petroleum Coke
Plastic
Plutonium Fuel Rod
Plutonium Pellet
Plutonium Waste
Polymer Resin
Power Shard
Pressure Conversion Cube
Purple Power Slug
Quantum Computer
Quartz Crystal
Quickwire
Radio Control Unit
Raw Quartz
Reinforced Iron Plate
Rifle Cartridge
Rotor
Rubber
S.A.M. Ore
Screw
Silica
Smart Plating
Solid Biofuel
Spiked Rebar
Stator
Steel Beam
Steel Ingot
Steel Pipe
Sulfur
Sulfuric Acid
Supercomputer
Superposition Oscillator
Thermal Propulsion Rocket
Turbo Motor
Turbofuel
Uranium
Uranium Fuel Rod
Uranium Waste
Versatile Framework
Water
Wire
Wood
Yellow Power Slug

Saturday, August 28, 2021

All Items In Satisfactory (Update 4)

 Every so often, I need to have a list of items for a calculation in Satisfactory, and I need a list of all the items. This is from Update 4.



Limestone

Iron Ore

Copper Ore

Caterium Ore

Coal

Raw Quartz

Sulfur

Bauxite

S.A.M. Ore

Uranium

Water

Crude Oil

Heavy Oil Residue

Fuel

Liquid Biofuel

Turbofuel

Alumina Solution

Sulfuric Acid

Nitric Acid

Nitrogen Gas

Concrete

Iron Ingot

Copper Ingot

Caterium Ingot

Steel Ingot

Aluminum Ingot

Quartz Crystal

Polymer Resin

Petroleum Coke

Aluminum Scrap

Copper Powder

Aluminum Casing

Empty Fluid Tank

Silica

Black Powder

Wire

Cable

Iron Rod

Screw

Iron Plate

Reinforced Iron Plate

Copper Sheet

Alclad Aluminum Sheet

Plastic

Rubber

Packaged Water

Packaged Alumina Solution

Packaged Sulfuric Acid

Packaged Nitric Acid

Packaged Nitrogen Gas

Steel Pipe

Steel Beam

Encased Industrial Beam

Green Power Slug

Yellow Power Slug

Purple Power Slug

Flower Petals

Crystal Oscillator

Empty Canister

Fabric

Modular Frame

Heavy Modular Frame

Pressure Conversion Cube

Fused Modular Frame

Rotor

Stator

Motor

Quickwire

Circuit Board

Computer

AI Limiter

High-Speed Connector

Supercomputer

Battery

Heat Sink

Radio Control Unit

Turbo Motor

Electromagnetic Control Rod

Encased Uranium Cell

Non-fissile Uranium

Plutonium Pellet

Encased Plutonium Cell

Cooling System

Quantum Computer

Superposition Oscillator

Beacon

Compacted Coal

Leaves

Mycelia

Wood

Biomass

Packaged Oil

Packaged Heavy Oil Residue

Solid Biofuel

Packaged Fuel

Packaged Liquid Biofuel

Packaged Turbofuel

Uranium Fuel Rod

Plutonium Fuel Rod

Nobelisk

Gas Filter

Color Cartridge

Rifle Cartridge

Spiked Rebar

Iodine Infused Filter

Power Shard

FICSIT Coupon

Smart Plating

Versatile Framework

Automated Wiring

Modular Engine

Adaptive Control Unit

Assembly Director System

Magnetic Field Generator

Thermal Propulsion Rocket

Nuclear Pasta

Uranium Waste

Plutonium Waste


Friday, July 2, 2021

Getting logs related to a specific user login in Ubuntu 20.04

I was having some trouble on Ubuntu 20.04 with figuring out why a Active Directory user couldn't log in to the server via SSH, and eventually came up with this, which was inspired by the link below it.

sudo journalctl | grep <<username>>



From here:

https://serverfault.com/questions/130482/how-to-check-sshd-log


All messages about sshd:

journalctl -t sshd

or

journalctl -u ssh 


Messages about sshd from the last boot:

journalctl -t sshd -b0


Messages about sshd from the last boot in the reverse order:

journalctl -t sshd -b0 -r

Monday, June 21, 2021

Linux Log Locations

Linux log locations

. . . because I never remember


/var/log/messages : General log messages
/var/log/boot : System boot log
/var/log/debug : Debugging log messages
/var/log/auth.log : User login and authentication logs
/var/log/daemon.log : Running services such as squid, ntpd and others log message to this file
/var/log/dmesg : Linux kernel ring buffer log
/var/log/dpkg.log : All binary package log includes package installation and other information
/var/log/faillog : User failed login log file
/var/log/kern.log : Kernel log file
/var/log/lpr.log : Printer log file
/var/log/mail.* : All mail server message log files
/var/log/mysql.* : MySQL server log file
/var/log/user.log : All userlevel logs
/var/log/xorg.0.log : X.org log file
/var/log/apache2/* : Apache web server log files directory
/var/log/lighttpd/* : Lighttpd web server log files directory
/var/log/fsck/* : fsck command log
/var/log/apport.log : Application crash report / log file


Copied from
https://ubuntuforums.org/showthread.php?t=1568706