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 October 17, 2024 14:30
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 October 21, 2024 08:13
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:-

Open Three Terminal and ssh on all App server

on Terminal one
ssh tony@stapp01  
on Terminal Two