User Tools

Site Tools


start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
start [2025/01/12 08:03] – [Creating Users in through CLI] 1211112319start [2025/01/16 08:11] (current) – 1211112228
Line 1: Line 1:
-======Opening Speech======+======What is System Admin and Maintenance?======
  
 +System Admin and Maintenance is
  
-**Assalamualaikum.**+====== Overview======
  
-My name is Eusoff, and this will be where we will be documenting our TSA project. 
  
-I hope everyone is able to access and play around with. +System Admin and Maintenance is a
- +
-You can test out all the features in this DokuWiki for you all to familiarize with. +
- +
-Cooperation is gladly appreciated. +
- +
-Thank you. +
- +
-Regards, Eusoff.+
  
  
Line 27: Line 19:
        ===== Creating Users in through CLI =====        ===== Creating Users in through CLI =====
 There are a lot of commands. We will focus more on: There are a lot of commands. We will focus more on:
-  * [[Commands|Commands]] +  * [[Commands|Commands on how to create/delete a user]] 
- +  * [[Sudoers|Add user into sudoers]]
- We use **//sudo adduser username//** to create a new user\\ +
- Sudo command must be used by sudoer user only.\\ +
- +
- If you want to assign the user to a group for example sudo group you can use **//sudo adduser username sudo//**+
  
  
   * How to create a user:   * How to create a user:
 +  * How to delete user:
  
- 1. Fisrt User: myself + 
- +
-  - Ordered List ItemFirst make sure your are using a sudoer group user or root to perform sudo command. +
-  - Then use **//sudo adduser aidel//**  +
-  - Then you will need to insert your password which i insert **//aidel//** as the password +
-  - Then you will have to insert the details of the user such as full name, group and phone number +
-  - system will ask whether the information is correct or not, if yes press y +
- +
-{{:whatsapp_image_2025-01-11_at_23.25.16_49f8450a.jpg?400|}} +
- +
-{{:whatsapp_image_2025-01-11_at_23.27.10_a5e04d49.jpg?400|}} +
- +
-{{:whatsapp_image_2025-01-11_at_23.27.36_932162f4.jpg?400|}} +
- +
-**//EXTRA//**\\ +
- Add user //aidel// to sudo group\\ +
- +
-{{:whatsapp_image_2025-01-12_at_13.28.50_2303cca1.jpg?400|}} +
- +
- +
- +
-2. Second User: John Doe +
- +
-- Ordered List ItemFirst make sure your are using a sudoer group user or root to perform sudo command. +
-  - Then use **//sudo adduser jdoe//**  +
-  - Then you will need to insert your password which i insert **//sysadmin#1//** as the password +
-  - Then you will have to insert the details of the user such as full name, group and phone number +
-  - system will ask whether the information is correct or not, if yes press y +
- +
-{{:whatsapp_image_2025-01-11_at_23.31.33_e41cae74.jpg?400|}} +
- +
-{{:whatsapp_image_2025-01-11_at_23.31.55_6b63b9c6.jpg?400|}} +
- +
- +
-3. Second User: Will Smith +
- +
-- Ordered List ItemFirst make sure your are using a sudoer group user or root to perform sudo command. +
-  - Then use **//sudo adduser wsmith//**  +
-  - Then you will need to insert your password which i insert **//sysadmin#2//** as the password +
-  - Then you will have to insert the details of the user such as full name, group and phone number +
-  - system will ask whether the information is correct or not, if yes press y +
- +
-{{:whatsapp_image_2025-01-11_at_23.35.44_5a16cf90.jpg?400|}} +
- +
-{{:whatsapp_image_2025-01-11_at_23.36.15_47c2b88d.jpg?400|}} +
- +
- +
-4.Check the user +
- +
-  - Use **//cat /etc/passwd//**  +
-  - it will appear the name of the user and the details +
- +
-{{:whatsapp_image_2025-01-11_at_23.37.20_98252dfd.jpg?400|}} +
- +
- +
- +
- +
- +
- +
-  * How to delete user +
- +
-  - Use **//sudo userdel username//** to delete user. +
-  - In this case i use **//sudo userdel aidel//** to delete user //**aidel**// +
-  - Use **//cat /etc/passwd//** to check again the list of user +
-  - Previously it will display user aidel details now after delete user aidel no longer exist +
- +
-{{:whatsapp_image_2025-01-12_at_13.20.40_6f6cec9d.jpg?400|}} +
- +
-{{:whatsapp_image_2025-01-12_at_13.19.59_ab381a49.jpg?400|}}+
  
  
Line 115: Line 36:
   - Aidel   - Aidel
   - Sahil   - Sahil
 +  - Megat
start.1736669021.txt.gz · Last modified: 2025/01/12 08:03 by 1211112319

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki