Skip to content

Instantly share code, notes, and snippets.

View alaison-benny's full-sized avatar
🎯
Focusing

Alaison Benny alaison-benny

🎯
Focusing
View GitHub Profile
@AbdullahGhani1
AbdullahGhani1 / non-interactive shell.md
Last active December 20, 2025 12:16
Create a Linux User with non-interactive shell - KodeKloud

The System admin team of xFusionCorp Industries has installed a backup agent tool on all app servers. As per the tool's requirements they need to create a user with a non-interactive shell.Therefore, create a user named mark with a non-interactive shell in the app02 server

Click on ✔ and Do Task Again

Solution:-

SSh acording to Task

ssh tony@stapp01 ## AppServer 1 Pass= Ir0nM@n
### OR
ssh steve@stapp02 ## Appserver 2 Pass = Am3ric@
### OR
@AbdullahGhani1
AbdullahGhani1 / DisableRootLogin.md
Last active December 30, 2025 11:31
Disable Root Login -KodeKloud

Disable Root Login

After doing some security audits of servers, xFusionCorp Industries security team has implemented some new security policies. One of them is to disable direct root login through SSH. Disable direct SSH root login on all app servers in Stratos Datacenter.

Click on ✔ and Do Task Again

Solution:-

Step 1: Open SSH Sessions to All App Servers

Open Three terminals. Ensure you have the passwords ready (usually provided in the lab details).

  • App Server 1 ssh tony@stapp01
  • App Server 2 ssh steve@stapp02
  • App Server 3 ssh banner@stapp03