Day 01: Linux User Setup with Non-Interactive Shell

Question:

To accommodate the backup agent tool’s specifications, the system admin team at xFusionCorp Industries requires the creation of a user with a non-interactive shell.

Here’s your task:

  • Create a user named “mariyam" with a non-interactive shell on App Server 2.


Solution:

# SSH to App server 2
ssh steve@stapp02
sudo useradd mariyam -s /sbin/nologin

By shafdo

Leave a Reply

Your email address will not be published. Required fields are marked *