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. [email protected]:/home/jason# useradd -m -s /bin/bash -g users -p $(openssl passwd -1 ff302) [email protected]:/home/jason# useradd -m -s /bin/bash -g users -p $(openssl passwd -1 ff302) randycole This is a good …

The sudo lastb command will list all recently logged in users on your Linux system. This is a useful tool on a server. [email protected]:~$ sudo lastb jason :0 :0 Thu Jan 8 12:41 – 12:41 (00:00) jason :0 :0 Mon Jan 5 11:42 – 11:42 (00:00) jason :0 :0 Mon Jan 5 11:42 – 11:42 …

How to create a shared folder on a Linux machine that a group of users may access. This is very useful for a shared folder that many users may place files. Firstly; you need to create a folder in the /opt directory. [email protected]:/opt# mkdir [email protected]:/opt# mkdir sharedfiles Then you need to set the proper permissions …