Tạo user/group và phân quyền file và folder trên AWS EC2 Linux
1/ Create user
1.1 Authen by root
sudo su -
1.2 Add user
useradd hoa
1.3 Set password for user
passwd <password>
1.4 Delete user
userdel <name of user>
1.5 Search by vim
press Esc press /
Sau khi tạo user rồi thì thử truy cập vào bằng account mới tạo xem đc k
2.1 Cho phép user truy cập vào hệ thống bằng password
vào file này
vi /etc/ssh/ssh_config
tìm từ password
nhấn Esc + / + type "password"
sữa thì nhấn Insert trên bàn...
aws
EC2
1219