Worst passwords of 2017

Two years ago I posted The Worst Passwords of 2015.

The use of insecure passwords still hasn’t changed very much. Shame on anyone designing a system that allows any of these horrible passwords.

Here are the worst passwords of 2017. The entries in RED below were also on the list for 2015 so if you are using one of these then change it now. Some of these were on the list for The 10 Worst Passwords of 2012 too.

1. 123456 

2. Password

3. 12345678 

4. qwerty

5. 12345

6. 123456789

7. letmein

8. 1234567

9. football

10. iloveyou

11. admin

12. welcome

13. monkey

14. login

15. abc123

16. starwars

17. 123123

18. dragon

19. passw0rd

20. master

Netgear A6100 WiFi USB Mini Adapter install for Ubuntu/Lubuntu

nic2nic1

 

Operating System: Lubuntu 14.10

My laptop’s internal wireless adapter decided to start acting up a few weeks ago.  I tried to deal with it but the frequent disconnections were affecting my ability to work efficiently.  I needed an external wireless card but I wanted the smallest possible one that I could find.

I picked one up at my local Walmart for about $34. This thing is very small and fits extra snugly into the USB port.  So snug that it makes me think I’m going to pull the case off of it when removing it from the port.  It’s pretty solid though.  I don’t intend on ever removing it so it’s fine with me.

I run Lubuntu on my main laptop.  It’s a very fast OS without a lot of bells and whistles.  What it lacks in special effects it makes up for in speed.

When I plugged in the Mini Adapter nothing happened. It wasn’t showing up on the wireless monitor at all. The instructions I found on Google were easy to follow and worked right away with no problems so I wanted to share them here.

 

Start by plugging in the adapter.

Open a terminal and run:

sudo apt-get install –reinstall linux-headers-$(uname -r) build-essential

After it finishes, go to a system that has an internet connection and navigate to the following Github page:

https://github.com/abperiasamy/rtl8812AU_8821AU_linux

Download the repo from the button labeled “Download ZIP” on the right-hand side of the page.  Copy the file to the system that the Mini Adapter is located.

Unzip the file you downloaded then cd to the folder it creates.

Run the following commands:

make
sudo make install
sudo modprobe 8812au

After everything completes, unplug then replug your USB card.

That’s all! Now you can connect to your network.

I’ve been running this adapter for a few days and it works perfectly.  It’s easily 5x-10x faster than my laptop’s failing built in wireless card. There were some areas of my house I couldn’t get a connection before but now it’s fast no matter where I am.

Thank you to the people that took the time to figure this out and share it with the community!

Source: http://ubuntuforums.org/showthread.php?t=2235778
Contributor name: Hadaka

and

Source: http://askubuntu.com/questions/368015/problem-with-building-compiling-a-driver-for-edimax-wireless-adapter-ew-7822uac
Contributor: http://askubuntu.com/users/19421/chili555

 

Script to backup a database

Create a filed called “database_backup.sh

Put the following code in that file:

#!/bin/bash
filename=`date ‘+%m%d%y’`
mysqldump -u YOUR_USERNAME -p YOUR_DATABASE_NAME —password=YOUR_DATABASE_PASSWORD > /PATH_TO_SAVE_FILE
-backups/database-$filename.sql
echo Database backup completed for $filename.

Replace YOUR_USERNAME, YOUR_DATABASE_NAME, YOUR_DATABASE_PASSWORD and PATH_TO_SAVE_FILE with the values appropriate for your database and backup file save locations.

Either with FTP or SSH, change the file permission to 755.  In SSH this can be accomplished by running this command:

chmod 755 database_backup.sh

You can run the command by typing:

./database_backup.sh

You can set this up in crontab to run the command once per day at 1AM by doing the following:

crontab -e

This will open vi to allow you to add to the cron jobs.

Add this to the cron by typing “i” or hitting the INSERT key, then paste:

0 1 * * *     /PATH_TO_FILE/database_backup.sh

Replace PATH_TO_FILE with the path to your database_backup.sh file.  If you’re in the folder you can type pwd to get the full path.

Hit : (colon) and w to save the file, then : (colon) and q to quit.  If it updates successfully you’ll see crontab: installing new crontab.

Now every day your database will be backed up.  Be sure to use a location BELOW web root so the file won’t be accessible from the web.

Useful Linux commands

If you work with linux at the command line then you’ll need these commands:

pwd    Show current location
ls        List files (short)
ll         List files (long with details)
ll -h     List files in human-readable format (long with details)
top      Shows all running processes and load info (end with “q”)
cd –     Go back one folder
cd ..    Go back one folder (same as above)
cd ~    Go to your “home” folder
mkdir    Create folder
rmdir    Remove folder
df -h    Show free disk space
du – -max-depth=1 -h .       Show folder usage summary
tar -xvf filename.tar           Unarchive a tar file
find -type f -print0 | xargs -r0 grep -F ‘KEYWORD’            Find files containing KEYWORD
find -type f ! -perm -777      Find all world-writable files


*** WARNING ***
rm -rf FOLDER_NAME

This is the scariest of all of the Linux commands. It means remove everything recursively by force. It won’t prompt or warn you while it destroys everything in its path. It will wipe out the folder you specify AND every file and subdirectory contained within so be VERY careful when using this command. Always use pwd to verify that you are in the correct folder first.  It can be useful but you can destroy your server in a matter of seconds!