Sunday 29 March 2020

Linux User Management - Granting/Revoking sudo access

we will learn how to manage user accounts and grant or revoke sudo access on a Linux system. We will be using Ubuntu as our operating system for this project.

Requirements:

    • Ubuntu installed on a machine

    • Sudo access

    • Basic understanding of Linux commands

Read more »

Labels: , , , ,

Monday 2 March 2020

Linux User Management - Locking/Unlocking user accounts

we will cover the topic of locking and unlocking user accounts in Linux. Locking a user account prevents the user from logging in, while unlocking it allows the user to log in again. This can be useful in situations where a user account has been compromised or is no longer needed.

We will provide code examples for locking and unlocking user accounts, and also discuss how to set up a testing environment on Ubuntu and test the code examples provided.

Read more »

Labels: , ,

Saturday 30 March 2019

How to monitor user and group activity in Linux

Comprehensive explanation of how to monitor user and group activity in Linux using the tools and utilities mentioned Below:

ps command:

The "ps" command (short for process status) displays a snapshot of running processes on a Linux system. To view the processes running under a specific user, you can use the "-u" option followed by the username. For example, to see all the processes running under the user "john," you can use the following command:

ps -u john


This will display a list of all the processes running under the user "john" along with their process ID (PID), CPU usage, memory usage, and other relevant information.

Read more »

Labels: , ,