Setting up admin users to use sudo on Amazon Web Services EC2

Subscribers:
1,220
Published on ● Video Link: https://www.youtube.com/watch?v=LpgQDfWOYCY



Duration: 11:23
233 views
2


[ec2-user@ip-172-31-83-243 ~]$ history
1 sudo groupadd admins
2 useradd -G sarah
3 sudo useradd -G admins sarah
4 sudo useradd -g admins beth
5 sudo cat /etc/shadow
6 sudo cat /etc/passwd
7 groups sarah
8 groups beth
9 history | grep useradd
10 vi /etc/sudoers
11 sudo vi /etc/sudoers
12 cd /etc/sudoers.d/
13 sudo ls /etc/sudoers.d/
14 sudo less /etc/sudoers.d/90-cloud-init-users
15 sudo cp /etc/sudoers.d/90-cloud-init-users /etc/sudoers.d/admins
16 sudo vi /etc/sudoers.d/admins
17 sudo su - sarah
18 sudo useradd anotheruser
19 sudo su - anotheruser
20 history




Other Videos By Information Technology


2023-07-28EC Council Network Defense Essentials - Passed :)
2023-07-27AlfredCamera - Turn your old smart phone into a security camera
2023-06-29Test days part2 and taking them at home
2023-06-28Test day.... time for some fun
2023-03-16A few thoughts on AI and ML due to the increased interest as of late
2023-03-15Understanding a bit how init files work and the different run control targets in Linux.
2023-03-13Install openJDK Java and then Installing Oracle Java with an RPM
2023-03-08Playing on our aws ec2 linux with scheduling jobs with at and cron
2023-03-07Selinux Broke Apache - I change httpd to run on another port and selinux did not like it.
2023-03-06Setting Up SELINUX on aws ec2 as well as installing audit2allow
2023-03-03Setting up admin users to use sudo on Amazon Web Services EC2
2023-02-27AWS S3 and Python Lambda with an API Gateway for a simple web form
2023-02-24Setting up an Ethical Hacking Server in AWS - PLEASE STAY ETHICAL
2023-02-23What is the cost for me to switch to Amazon Web Services (AWS)
2023-02-22Why are there so many different Elastic Compute Cloud (EC2) options in AWS
2023-02-21What are some of the other properties of Amazon Web Service (AWS) Simple Storage Service (S3)
2023-02-20AWS S3 finding prior versions of deleted files
2023-02-17Creating Amazon Web Services (AWS) Simple Storage Service (S3) Bucket and enabling versioning
2023-02-16What else can we do with firewalld... masquerade and forward incoming requests
2023-02-14Linux Firewalld and Amazon Security Group (network firewall) change to allow httpd (apache)
2023-02-13Learn and use Amazon Web Services for free with AWS Educate... It has a new focus