A very useful script to create a bunch of user accounts from an array.
A nice script to generate a few Linux user accounts from a script.
Read MoreA nice script to generate a few Linux user accounts from a script.
Read MoreHow to use Systemd to get user information very easily. List user sessions.
Read MoreHow to get information about users on a Linux system easily.
Read MoreSome useful tips and tricks for using Wireshark on your network.
Read MoreHow to use Wireshark to list all browsers and operating systems on a LAN. This is very interesting.
Read MoreGetting started with Linux can be tricky, here are some guides and information to help out new users.
Read MoreSome suggestions for new users of Linux and thoughts on modern Linux distributions. Linux is very annoying in various ways.
Read MoreAdding 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…
Read MoreThis simple command-line will create a new user on Linux named test5. ┌──[[email protected]]─[~] └──╼ ╼ $ sudo useradd test5 -m -K PASS_MAX_DAYS=5 -K PASS_WARN_AGE=3 -K LOGIN_RETRIES=1┌──[[email protected]]─[~] └──╼ ╼ $ sudo useradd test5 -m -K PASS_MAX_DAYS=5 -K PASS_WARN_AGE=3 -K LOGIN_RETRIES=1 Then set a password for the new user. ┌──[[email protected]]─[~] └──╼ ╼…
Read MoreHow to mount a partition on Linux and make your old home directory accessible to your user To add a directory in a mounted drive as a folder accessible by a normal user, use this command to change the ownership of all files and directories to that of your current…
Read MoreThis is an interesting command to view your command history when you are using Bash. ┌──[[email protected]]─[~] └──╼ ╼ $ hash hits command 1 /usr/bin/gethostip 1 /usr/bin/sudo┌──[[email protected]]─[~] └──╼ ╼ $ hash hits command 1 /usr/bin/gethostip 1 /usr/bin/sudo This command is a Bash shell built-in command. If you are using the tcsh…
Read MoreBlock Internet access for a specific user or user group on Linux. This works very well using iptables. A potentially very useful Linux tip.
Read MoreThis is how to add a new user account on your Ubuntu Linux machine. This is very simple using the useradd command. Useradd takes parameters instead of asking for details like adduser, this means it is better to use in a script. 4.4 Wed Feb 12 jason@Yog-Sothoth 0: $ sudo…
Read MoreIt is easy to get comprehensive information about a user on Linux by using the command line. I will show you how to see password expiry information and other details. This example shows the use of the chage command to retrieve password expiry information. 4.4 Mon Jan 13 jason@Yog-Sothoth 0:…
Read MoreWhat is the difference between a hard link and a symbolic link? The output below shows the process of creating firstly a hard link and then a symbolic link. The hard link appears exactly the same as the original file; but the symbolic link displays as a link from the…
Read MoreThe 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…
Read MoreThis is an easy way to get information about running services on your Ubuntu machine. I am after user services, so I am using systemctl to get this information. This is very easy. Get information about a certain service. jason@kaio:~$ systemctl status –user pulseaudio ● pulseaudio.service – Sound Service Loaded:…
Read MoreVery 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…
Read MoreTo get information about Linux users with the shell, give these examples a go. Get a listing of all /home folders on Linux. jason@Yog-Sothoth:~/Documents$ sudo gawk -F: ‘{ print $6 }’ /etc/passwd | grep /home /home/syslog /home/jason /home/justin /home/danieljason@Yog-Sothoth:~/Documents$ sudo gawk -F: ‘{ print $6 }’ /etc/passwd | grep /home…
Read MoreLinux User Groups India There are many Linux user groups, (LUG) in India. They meetup and discuss various open-source software topics. This is a great way to meet other Linux users and learn from others. One large Linux User Group in India is the Indian Linux Users Group. http://linux-delhi.org/. Their…
Read More