How to allow RDP (remote desktop) access to Ubuntu/POP OS (Debian) from Windows – XRDP method

In this example, I am using POP OS but you can us Debian/Ubuntu etc. With Debian you need a little bit of tweaking, for Ubuntu and POP OS, it should work. Step 1: Install xrdp package using the following command bchoi@pop-os:~$ sudo apt install xrdp -y Step 2: Enable xrdp so the daemon starts on… Read More How to allow RDP (remote desktop) access to Ubuntu/POP OS (Debian) from Windows – XRDP method

Learn Python in one day, smells like rotten fish, looks like bull’s dung & reads like snake oil

Learn Python in one day, smells like rotten fish, looks like bull’s dung, reads like snake oil Python has been gaining popularity over the past ten years, and it is genuinely a simple language to enter the computer programming for newbies. Many of my colleagues at work ask me how to begin study Python (self-study). And… Read More Learn Python in one day, smells like rotten fish, looks like bull’s dung & reads like snake oil

Linux – change default system runlevel from 6 to 3

Check the default runlevel configured on the system [root@ansible-server system]# ls -l /etc/systemd/system/default.targetlrwxrwxrwx. 1 root root 40 Jan 28 07:11 /etc/systemd/system/default.target -> /usr/lib/systemd/system/graphical.target 2. update the graphical.target to multi-user.target runlevel. ‘ln’ is command for making link files. [root@ansible-server system]# ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target 3. Check the updated configuration[root@ansible-server system]# ls -l /etc/systemd/system/default.targetlrwxrwxrwx. 1 root root… Read More Linux – change default system runlevel from 6 to 3

Useful nmap port scan commands

https://hackertarget.com/nmap-cheatsheet-a-quick-reference-guide/ Nmap Commands to Scan Remote Hosts   Command Explanation 1 sudo nmap 10.10.10.1 nmap google.com scan a host scan a web site *2 sudo nmap 192.168.30.201 –p 1-65535   sudo nmap 192.168.30.201 -p 22,69,80,443 scan specific ports 3 sudo nmap 10.10.10.11 192.168.30.202 sudo nmap 192.168.30.11,201,202 scan multiple Ips   4 CIDR sudo nmap -p 8.8.8.0/28… Read More Useful nmap port scan commands

Ansible study note 13. ansible-playbook – debugging and locating playbook problems using -vvv

https://docs.ansible.com/ansible/2.5/dev_guide/developing_modules_best_practices.html Giving Ansible the –vvv option makes Ansible more verbose. That way it prints the file name of the temporary module file for you to see. If you want to examine the wrapper file you can. It will show a small python script with a large, base64 encoded string. The string contains the module that… Read More Ansible study note 13. ansible-playbook – debugging and locating playbook problems using -vvv