User Tools

Site Tools


computing:miscadmin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
computing:miscadmin [2019/11/03 02:57] oemb1905computing:miscadmin [2021/10/16 01:34] oemb1905
Line 26: Line 26:
   gsettings set org.gnome.desktop.background show-desktop-icons false   gsettings set org.gnome.desktop.background show-desktop-icons false
   gsettings set org.nemo.desktop show-desktop-icons true   gsettings set org.nemo.desktop show-desktop-icons true
- 
  
 -motd- -motd-
Line 47: Line 46:
      
   cat /etc/motd   cat /etc/motd
-  
    
 -Firefox- -Firefox-
  
 To install the latest firefox on Debian and make it default, do the following.  The link below may not always work, so replace when updated. To install the latest firefox on Debian and make it default, do the following.  The link below may not always work, so replace when updated.
- 
  
   sudo mkdir -p /opt/firefox   sudo mkdir -p /opt/firefox
Line 66: Line 63:
   mv /usr/lib/firefox-esr/firefox-esr_orig /usr/lib/firefox-esr/firefox-esr   mv /usr/lib/firefox-esr/firefox-esr_orig /usr/lib/firefox-esr/firefox-esr
      
 +-youtube-dl-
  
--optical ripping-+  sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl 
 +  sudo chmod 750 /usr/local/bin/youtube-dl 
 + 
 +-optical ripping example-
  
   cdrecord -pad -dao -data blag-140k-i686.iso   cdrecord -pad -dao -data blag-140k-i686.iso
  
- +-pam hardening location-
- +
--pam garbage-+
  
   sudo nano /etc/pam.d/common-password   sudo nano /etc/pam.d/common-password
Line 196: Line 195:
   use this for local interfaces for ipv6   use this for local interfaces for ipv6
   ::::0:0.0.0.0   ::::0:0.0.0.0
 +  
 +  view
 +  exim -Mvh
      
 -verifying TLS with swaks on exim4 relay setup -verifying TLS with swaks on exim4 relay setup
Line 227: Line 229:
   cat /var/log/auth.log | grep 'sshd.*Invalid'   cat /var/log/auth.log | grep 'sshd.*Invalid'
   cat /var/log/auth.log | grep 'sshd.*opened'   cat /var/log/auth.log | grep 'sshd.*opened'
 +  
 +-checking disk space-
 +
 +  du -ch -d 1 | sort -hr
 +
 +-check disk space with ncurses tool-
 +
 +  sudo apt install ncdu
 +  ncdu
 +  
 +-stop/start sleep of any form on servers-
 +
 +  sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
 +  sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
 +  
 +-xorg with ssh
 +
 +  touch /root/.Xauthority 
 +  touch /home/user/.Xauthority
  
- --- //[[oemb1905@jonathanhaack.com|oemb1905]] 2019/11/02 20:56//+ --- //[[jonathan@haacksnetworking.com|oemb1905]] 2021/10/15 19:33//
computing/miscadmin.txt · Last modified: 2024/05/17 02:19 by oemb1905