Part 1. Multiple Websites on VPS or EC2 AWS via Nginx PHP Linux - Users Groups and File Permissions

Published: 30 December 2018
on channel: Side Study
173
2

In this video, we are explaining the Users, Groups and File Permissions. We are using Amazon Linux AMI in Amazon Web Services to show you working of the commands. But these commands will work almost every linux distribution and even with some shells on MAC, Windows and other operating systems.

Before you start, it is good to have basic knowledge about AWS by watching our video "How to setup your own Linux server in AWS cloud" here:    • Configuring NGinX Web Server on Linux...  


Let's start with the video

1. useradd ---- Adding new user in Linux

2. groupadd ---- Adding new group in Linux

3. usermod ---- Modify a user in Linux

4. groupmod ---- Modify a group in Linux

5. passwd ---- Changing password for user in Linux

6. userdel ---- deleting the user in Linux



A. /etc/passwd ----- User Information

B. /etc/group ----- Group information

C. /etc/shadow ----- Password for all users


File Permissions Table

7 ----- rwx
6 ---- rw
5 ----- r-x
4 ----- r--
3 ----- -wx
2 ---- -w
1 ----- --x
0 ----- ---


I. chmod ----- Change Mode

II. chown ----- Change Owner



1. FILE OWNERS --- newFile belongs to User2

2. FILE GROUP OWNERS ---- Group users are User1 and User2

3. OTHER USERS ---- ec2-user is other user


Hope you enjoyed the video. Please subscribe to our channel and ask your questions in comments box. Thanks for watching.

Subscribe to our channel:
   / sidestudy  

Official Website:
http://www.sidestudy.com

Google Plus:
https://plus.google.com/+sidestudy

Facebook:
  / sidestudy  

Instagram:
  / sidestudy  


Watch video Part 1. Multiple Websites on VPS or EC2 AWS via Nginx PHP Linux - Users Groups and File Permissions online without registration, duration hours minute second in high quality. This video was added by user Side Study 30 December 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 17 once and liked it people.