Nice program for Linux to generate a random password.
A couple of very nice programs to generate random password strings.
A couple of very nice programs to generate random password strings.
How to find password caches on the Internet with a simple Google Dork.
How to install and use MySQL in 2022 with the proper password set for the root user. How to fix the ‘SET PASSWORD has no significance for user ‘root’@’localhost” error and use this database properly.
http://codex.wordpress.org/User:MichaelH/Orphaned_Plugins_needing_Adoption/Emergency. This PHP script when run on a web server will allow a webmaster to reset the Administrator password for a WordPress installation. This is another good way to reset the password if you forget it. If you have access to the MySQL command line you may also use that to reset the password. The … Read more
Adding a new user on Linux is very easy, this can be done with the groupadd and useradd commands. I am adding a new user group to Linux and then adding the new user to it. Firstly, add the new user group. jason@jason-Lenovo-H50-55:~$ sudo groupadd -g 1001 cudauserjason@jason-Lenovo-H50-55:~$ sudo groupadd -g 1001 cudauser Then we … Read more
Rules concerning passwords can be different depending upon the use case. A normal home user can get away with a standard 8 – 12 character password as long as it has some upper-case characters and numbers in it. A business would require more security, physical security of the actual hardware and a stronger password, like … Read more
Generating a password with the Linux command line is very easy with data from /dev/urandom. This allows a user to retrieve random data easily. The example below shows a password being generated only using letters and numbers. ┌──[[email protected]]─[~] └──╼ ╼ $ tr -dc "0-9A-Za-z" < /dev/urandom | head -c 96 ; echo gOApOMzRqqbmvUjxT7esfJcKW58PxxXqYDwCVvd628OsEa1yyfLADADJQ8YBZFdWZQkCXCRDKCPncSsC20OOjHxklnaxEbJF┌──[[email protected]]─[~] └──╼ ╼ … Read more
The Linux user account is a way for users to log in to their system and perform various tasks. This is just as it was in UNIX. The /etc/passwd file stores all user accounts and information about that user. The /home directory, the username and user ID #. /etc/passwd1 2 3 4 5 6 7 … Read more
The many Linux distributions out there are very interesting in how they work. The passwords for the users are stored in a file in /etc/shadow. This is only readable by the system administrator account and are encrypted with different levels of encryption. This example is using the outdated MD5 encryption scheme, which should never be … Read more
If you want to be able to use the sudo command in Debian to do superuser tasks as your normal user, then you need to edit the /etc/sudoers file to be able to perform administrator tasks as a normal user with sudo. Add the user lovecraft to the sudoers file like this. lovecraft ALL=(ALL:ALL) ALLlovecraft … Read more
A Linux system can have a lot of users in the /etc/passwd file. But it is easy to keep track of your users with the command line. The lslogins command will print a listing of known users on your Linux system. An example of the usage. jason@jason-Virtual-Machine:~$ lslogins UID USER PROC PWD-LOCK PWD-DENY LAST-LOGIN GECOS … Read more
The default user account settings may easily be changed with the command line, here is an example. Changing the default login shell with the command line. 4.4 Mon Jul 22 jason@Yog-Sothoth 0: $ sudo useradd -D -s /bin/bash4.4 Mon Jul 22 jason@Yog-Sothoth 0: $ sudo useradd -D -s /bin/bash Get the default settings like this, … Read more
This command line shows how to use a simple one-liner to create a horribly complicated password using the Linux command line. 4.4 Thu Feb 28 jason@Yog-Sothoth 0: $ cat /dev/urandom | tr -cd ‘\11\12\15\40-\176’ | head -n 1 U\-mnQyDp’R7Aen][VzYt@cyiqgzU|5Z-DODo91>7_z%RUQ’nA66S`S~BUAy(Two-B~AtI@M!U"TqG?7xdI@*Tp;"ywUpV/65x"!$HN`jj8Ox-VPt!<<;?nUK%f4.4 Thu Feb 28 jason@Yog-Sothoth 0: $ cat /dev/urandom | tr -cd ‘\11\12\15\40-\176’ | head -n 1 … Read more
Very useful information for a new Linux user Very comprehensive .bashrc file for your Linux system. http://securitronlinux.com/debian-testing/very-comprehensive-bashrc-file-for-your-linux-system/. How to generate a random password using the command line. http://securitronlinux.com/bejiitaswrath/how-to-generate-a-random-password-using-the-command-line/. UNIX & Linux PDF Ebooks. Many useful Linux and BSD E-Books available. learn all you can about Linux by reading these useful books. http://securitronlinux.com/nix-pdfs/. Setting defaults for … Read more
How to list password files on a Macintosh OSX machine This is how to list the password files on a Macintosh OSX Mountain Lion machine. Newer Macintosh OSX machines do not use the /etc/shadow file link Linux does, so this is how the account passwords are stored. Homers-iMac:~ homer$ sudo ls -lah /var/db/dslocal/nodes/Default/users/ Password: total … Read more
Get ahold of the Mac OSX Sierra password files This is how to list the password files on a Macintosh machine, but the folder is only readable by the superuser. deusexmachina:~ jason$ sudo ls -l /var/db/dslocal/nodes/Default/usersdeusexmachina:~ jason$ sudo ls -l /var/db/dslocal/nodes/Default/users This will return a listing of many files that contain passwords. But these are … Read more
Cracking an Ubuntu password with John the Ripper is very easy. All that is needed is a good wordlist and the John The Ripper utility. Install the John the Ripper password cracking utility. jason@jason-desktop:~/Documents/Windows$ sudo apt install johnjason@jason-desktop:~/Documents/Windows$ sudo apt install john Dump the Linux user account information to a file from the shadow and … Read more
The wpscan utility may be used to brute force a WordPress password very easily. But firstly, we need the WordPress username. Get it like this. Using Nmap. As Nmap supports user enumeration for WordPress, this is easy. ubuntu ~ $ nmap -sV –script http-wordpress-enum –script-args limit=195 somewordpresssite.com Starting Nmap 6.40 ( http://nmap.org ) at … Read more
How to capture packets from a network with tcpdump and get an FTP login password. I used this tcpdump command line to capture packets traveling over my network, this was intended to capture an FTP login. I am using an Anonymous login as a example, but there is still a password involved. This way, I … Read more
How to unlock the root account on an Ubuntu machine The root account on an Ubuntu machine is normally disabled. This is how to enable the root account to use this Linux account like a traditional Linux system. Firstly, enable the root account by setting a new password. ubuntu ~ $ sudo passwd root Enter … Read more