Very useful Linux tips for getting information on current logins.

There are many ways to get detailed information on known users on your Linux system. The lslogins command is therefore very useful for listing all usable login accounts. The below example will list all user accounts including the root account. This might be disabled on an Ubuntu system, but it…

Read More

Some people just do not get Linux at all.

Some people do not understand how Linux works at all. I just tried what was shown in the webm above on my Ubuntu MATE machine and it works just fine. I was able to drag a file from the Caja file manager to the desktop and lo and behold it…

Read More

Get information about users on your Linux system easily.

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…

Read More

More very useful tricks with awk on Linux.

Printing user information such as the username and home directory for each user on your system is very easy with awk. Use this simple post to get this information. This will help you out if there are a lot of users on your system and you wish to list them all.

Read More

Manage your user settings easily on Linux Mint or Ubuntu.

Managing your user account on Ubuntu or Linux Mint is very easy with the GUI utilities provided. Under System->Administration->Users and Groups, you have the option to create new user accounts, or modify existing ones. This is the window above, it is ready for the creation of new user accounts. Click…

Read More

Understanding the /etc/passwd file on UNIX/Linux.

The /etc/passwd file on UNIX/Linux is where the user accounts for Linux are stored. This keeps your system safe as the passwords are stored as hashes in the /etc/shadow file, which is separate from the passwd file and is only accessible by the superuser. This keeps a system very safe….

Read More

How to create a new user on Linux and add a password in one go.

The useradd command can create a new user on your Linux system. Here is how to add a password as well all in one simple operation. root@neo:/home/jason# useradd -m -s /bin/bash -g users -p $(openssl passwd -1 ff302) randycoleroot@neo:/home/jason# useradd -m -s /bin/bash -g users -p $(openssl passwd -1 ff302)…

Read More

Creating a new user on a Linux workstation with the shell.

Creating a new user with the Linux command-line is very easy, the command-line adduser command is easier to use than the useradd command and automates a lot of the steps involved in creating a new user and their home directory. The sequence shown below is the simple task of creating…

Read More