Skip to content

Latest commit

 

History

History
executable file
·
51 lines (31 loc) · 1.01 KB

Lab_001_Create_a_user.md

File metadata and controls

executable file
·
51 lines (31 loc) · 1.01 KB

Start:         2023-07-27 00:05:45
Finished:   2023-07-27 00:09:12



Lab 001: Create a User

Requirements

Create a user named mariyam on App Server 2 in Stratos Datacenter. Set UID to 3120 and its home directory to /var/www/mariyam.


Steps

Login to the app server and switch to root. For the server credentials, check out the Project Nautilus documentation.

sshpass -p  '**********' ssh -o StrictHostKeyChecking=no steve@172.16.238.11
sudo su -
**********  

Create the user based on the requirements.

useradd -u 3120 -d /var/www/mariyam mariyam 

Verify.

id mariyam
grep mariyam /etc/passwd 

Resources