services                          
*   LinWin      
  4/20/20   services      
                             
   
  Home Start/Stop/Restart Conf Mis
  Install / Fedora
  cronjobs samba   /etc/init.d/smb restart   /etc/samba/smb.conf
  Info (inxi)   /etc/init.d/nmb restart  
  Desktops    
  dnf   systemctl restart smb.service  
  DNS   systemctl restart nmb.service  
  firewalld        
  LVM
  LVM2
  N.Neighbor'd apache   /etc/init.d/httpd restart   /etc/httpd/conf/httpd.conf
  NM    
  Wireless   systemctl restart httpd.service  
  Services        
  Sys Jour
   
    fail2ban   /etc/init.d/fail2ban restart   /etc/fail2ban/jail.conf   /usr/bin/fail2ban-client [OPTIONS] <command>  
       
      systemctl enable fail2ban.system  to make it auto start OPTIONS commands
      -c <DIR> configuration directory start
      -s <FILE> socket path reload
      -d dump config'n stop
      -i interactive mode status
      -v increase verbosity ping
      -q decrease verbosity set
      -x force execution of svr get
      -h, --help  
      -v, --version  
                 
   
   
    ssh   /etc/init.d/sshd restart   /etc/ssh/sshd_config   PermitRootLogin   no /etc/hosts.allow /etc/hosts.deny  
      sshd:  1.2.3.0/255.255.255.0 sshd:  ALL  
       systemctl  start  sshd.service start manually once sshd:  192.168.0.0/255.255.255.0  
      enable start on every system boot  
      disable remove from system startup  
      -a list of all avail managed services  
      stop  
      start  
      restart stop, then restart service  
      status  
                       
   
   
    vsftp   /etc/init.d/vsftpd restart   /etc/vsftpd/vsftpd.conf   anonymous_enable=NO
      /sbin/service vsftpd restart  
       
      systemctl restart vsftpd.service  
               
   
   
    iptables   /etc/init.d/iptables save   /etc/sysconfig/iptables   /sbin/iptables -L -n  
      /etc/init.d/iptables restart  
      /sbin/iptables -F Flush
      /sbin/iptables -F INPUT  
      /sbin/iptables -F FORWARD  
      /sbin/iptables -F OUTPUT  
       
      iptables -I INPUT -s 213.240.234.134 -j DROP ban IP address
       
      /sbin/iptables -I  INPUT -p tcp -dport 25 -j DROP  
      /sbin/iptables -D INPUT -p tcp -dport 25 -j DROP  
      /sbin/iptables -I  INPUT -s 192.168.1.25 -p tcp -dport 25 -j ACCEPT
                 
   
   
    selinux   setenforce 1   /etc/selinux/config   ls -Z   /var/www         (use cp, not mv) context labels
      echo 1 > /selinux/enforce SELINUX=enforcing YoLinux.com
      setenforce 0 SELINUX=permissive Sys Admin & Confg'n
      echo 0 > /selinux/enforce SELINUX=disabled (requires reboot)  
      getenforce  
      sestatus  
                 
   
   
    X.org   /etc/init.d/xdm restart