Skip to content

Commit 69f04c3

Browse files
committed
added images
1 parent ecadf83 commit 69f04c3

File tree

12 files changed

+35
-35
lines changed

12 files changed

+35
-35
lines changed

docs/06-Security-and-File-Permissions/02-Linux-Accounts.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
- In this section we will take a look at basic access control in Linux.
55
- We will also learn about about the file permissions. Lets Get Started!
66

7-
![linux](../images/linux.PNG)
7+
![linux](../../images/linux.PNG)
88

99

1010
#### User Accounts
@@ -21,7 +21,7 @@
2121
[~]$ cat /etc/group
2222
```
2323
24-
![user](../images/user.PNG)
24+
![user](../../images/user.PNG)
2525
2626
- Each user has a username and a unique ID assigned to them known as user ID or UID.
2727
- The user also has a GID, the group id they are part of, **`id`** command can be use to check these details. for eg:
@@ -38,7 +38,7 @@
3838
michael:x:1001:1001::/home/michael:/bin/sh
3939
```
4040
41-
![group](../images/group.PNG)
41+
![group](../../images/group.PNG)
4242
4343
- To see the list of users currently logged use **`who`** command.
4444
@@ -82,14 +82,14 @@
8282
[sudo] password for michael:
8383
```
8484
85-
![who](../images/who.PNG)
85+
![who](../../images/who.PNG)
8686
8787
- Users listed in /etc/sudoers file can make use of sudo command for privledge escalation.
8888
8989
```
9090
[~]$ cat /etc/sudoers
9191
```
92-
![sudo](../images/sudo.PNG)
92+
![sudo](../../images/sudo.PNG)
9393
9494
- To restrict anyone from directly login as root login, this can be done by setting **`nologin`** shell.
9595

docs/06-Security-and-File-Permissions/03-User-Management.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
bob:x:1002:1002::/home/bob:/bin/sh
1919
```
2020
21-
![useradd](../images/useradd.PNG)
21+
![useradd](../../images//useradd.PNG)
2222
2323
- To check the uid or username of the user logged in user **`whoami`** command.
2424
@@ -53,7 +53,7 @@
5353
[~]$ useradd -u 1009 -g 1009 -d /home/robert -s /bin/bash -c ”Mercury Project member" bob
5454
```
5555
56-
![manage](../images/manage.PNG)
56+
![manage](../../images//manage.PNG)
5757
5858
- To delete a user use **`userdel`** command
5959

docs/06-Security-and-File-Permissions/04-Access-Control-Files.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
USERNAME:PASSWORD:UID:GID:GECOS:HOMEDIR:SHELL
1717
```
1818
19-
![passwd](../images/passwd.PNG)
19+
![passwd](../../images//passwd.PNG)
2020
2121
- Password are stored under **`/etc/shadow`**
2222
@@ -28,7 +28,7 @@
2828
USERNAME:PASSWORD:LASTCHANGE:MINAGE:MAXAGE:WARN:INACTIVE:EXPDATE
2929
```
3030
31-
![shadow](../images/shadow.PNG)
31+
![shadow](../../images//shadow.PNG)
3232
3333
- Check the groups **`bob`** belongs too
3434
@@ -37,7 +37,7 @@
3737
NAME:PASSWORD:GID:MEMBERS
3838
```
3939
40-
![egp](../images/egp.PNG)
40+
![egp](../../images//egp.PNG)
4141
4242
# HANDS-ON LABS
4343

docs/06-Security-and-File-Permissions/05-File-Permissions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
- In this lecture we will learn about various file type identifiers.
66
- We will also learn about various Linux file permissions that can be applied on the file or the directory.
77

8-
![perm](../images/perm.PNG)
8+
![perm](../../images//perm.PNG)
99

1010

11-
![type](../images/type.PNG)
11+
![type](../../images//type.PNG)
1212

1313

1414
#### Directory Permission
@@ -35,7 +35,7 @@
3535
3636
- Linux file permissions are defined as
3737
38-
![filep](../images/filep.PNG)
38+
![filep](../../images//filep.PNG)
3939
4040
#### Modifying file permissions
4141

docs/06-Security-and-File-Permissions/06-SSH-and-SCP.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@
4545
bob@caleston-lp10 ~]$ ssh-keygen –t rsa
4646
```
4747
48-
![key](../images/key.PNG)
48+
![key](../../images//key.PNG)
4949
5050
- To copy the Public key from the client to the remote server
5151
5252
```
5353
bob@caleston-lp10 ~]$ ssh-copy-id bob@devapp01
5454
```
5555
56-
![copy](../images/copy.PNG)
56+
![copy](../../images//copy.PNG)
5757
5858
5959
- Now **`Bob`** can login to remote server without password
@@ -62,15 +62,15 @@
6262
[bob@caleston-lp10 ~]$ ssh devapp01
6363
```
6464
65-
![pless](../images/pless.PNG)
65+
![pless](../../images//pless.PNG)
6666
6767
- Public Key is copied to the remote server at :
6868
6969
```
7070
[bob@caleston-lp10 ~]$ cat /home/bob/.ssh/authorized_keys
7171
```
7272
73-
![auth](../images/auth.PNG)
73+
![auth](../../images//auth.PNG)
7474
7575
#### SCP
7676
@@ -86,4 +86,4 @@
8686
[bob@caleston-lp10 ~]$ scp –pr /home/bob/media/ devapp01:/home/bob
8787
```
8888
89-
![scp](../images/scp.PNG)
89+
![scp](../../images//scp.PNG)

docs/07-Networking/02-DNS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,18 @@
7070
7171
# DOMAIN NAMES
7272
73-
![DNS](../images/dns.PNG)
73+
![DNS](../../images//dns.PNG)
7474
7575
- .com - Commerical or General Purpose.
7676
- .net - Network or General Purpose.
7777
- .edu - Education Purpose
7878
- .org - Organizations for non profit organizations etc.
7979
80-
![Root](../images/root.PNG)
80+
![Root](../../images//root.PNG)
8181
8282
# RECORD TYPES
8383
84-
![Record](../images/record.PNG)
84+
![Record](../../images//record.PNG)
8585
8686
- A - IP to host names.
8787
- AAAA - Storing ipv6 to hostnames.

docs/07-Networking/03-Networking-Basics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
- Switching helps to connect the interface within same network.
88

9-
![switch](../images/switch.PNG)
9+
![switch](../../images//switch.PNG)
1010

1111
- To see the interfaces on the hosts use **`ip link`** command
1212

@@ -26,7 +26,7 @@
2626

2727
- Router helps to connect to two seprate networks together.
2828

29-
![route](../images/routing.PNG)
29+
![route](../../images//routing.PNG)
3030

3131
- To see the existing routing table configuration run the **`route`** command.
3232

docs/07-Networking/04-Troubleshooting.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- In this lecture we will be going to troubleshooting the issue that **`Bob`** is facing.
66
- Bob is not able to reach to the repository server and he get the error as show below.
77

8-
![site](../images/site.PNG)
8+
![site](../../images/site.PNG)
99

1010
#### Check Interfaces
1111

@@ -62,12 +62,12 @@
6262
[caleston-repo-01: ~]$ netstat -an | grep 80 | grep -i LISTEN
6363
```
6464
65-
![net](../images/net.PNG)
65+
![net](../../images/net.PNG)
6666
6767
- To bring up the interface up use below command.
6868
6969
```
7070
[caleston-repo-01: ~]$ ip link set dev enp1s0f1 up
7171
```
7272
73-
![iplink](../images/iplink.PNG)
73+
![iplink](../../images/iplink.PNG)

docs/08-Storage-in-Linux/02-Storage-Basics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
- External Storage Devices such as DAS,NAS, and SAN.
88
- LVM in Action.
99

10-
![Disk](../images/disk.PNG)
10+
![Disk](../../images//disk.PNG)
1111

1212
#### List all Block devices
1313

@@ -31,7 +31,7 @@
3131
3232
#### Partition Types -
3333
34-
![Part](../images/partition.PNG)
34+
![Part](../../images//partition.PNG)
3535
3636
- PRIMARY - Use to Boot an Operating System.
3737
- EXTENDED - Can host logical partitions but cannot be used on its own.

docs/08-Storage-in-Linux/03-File-System-in-Linux.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
- In this lecture we will cover the most commonly used file systems from EXT2 to EXT4.
66

7-
![fs](../images/fs.PNG)
7+
![fs](../../images/fs.PNG)
88

99
#### Working with Ext4
1010

@@ -46,7 +46,7 @@
4646
```
4747
- **`fstab`** file attributes
4848
49-
![fstab](../images/fstab.PNG)
49+
![fstab](../../images/fstab.PNG)
5050
5151
# HANDS-ON LABS
5252

docs/08-Storage-in-Linux/05-LVM.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- LVM allows grouping of multiple physical volumes, which are hard disks or partitions into a volume group.
66
- Volumegroups can be carve out logical volumes.
77

8-
![LVM](../images/lvm.PNG)
8+
![LVM](../../images/lvm.PNG)
99

1010
#### Working with LVM
1111

@@ -159,7 +159,7 @@
159159
/dev/mapper/caleston_vg-vol1 2.0G 1.6M 1.9G 1% /mnt/vol1
160160
```
161161
162-
![LVM2](../images/lvm2.PNG)
162+
![LVM2](../../images/lvm2.PNG)
163163
164164
# HANDS-ON LABS
165165

docs/09-Service-management-with-SYSTEMD/03-SYSTEMD-Tools.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
during the system boot.
1414
- It is also used to **`LIST AND MANAGE UNITS`** and **`LIST AND UPDATE TARGETS`**
1515

16-
![Systemctl](../images/systemctl.png)
16+
![Systemctl](../../images/systemctl.png)
1717

1818
### Systemctl Commands
1919

@@ -58,7 +58,7 @@
5858
5959
- Besides **`active (running)`** state there are few other state that you should be aware off.
6060
61-
![Other](../images/otherstate.PNG)
61+
![Other](../../images/otherstate.PNG)
6262
6363
- Running **`systemctl daemon reload`** command after making changes to service unit file reloads the system manager configuration and makes the systemd aware of the changes.
6464
@@ -101,7 +101,7 @@
101101
- The systemd-journald service is responsible for systemd’s log collection, and it retrieves messages from the kernel systemd services, and other sources.
102102
- Very useful when you are troubleshooting issues with systemd services.
103103
104-
![Journalctl](../images/journalctl.png)
104+
![Journalctl](../../images/journalctl.png)
105105
106106
- Using **`journalctl`** commands print all the log entries from oldest to the newest.
107107
- Using **`journalctl -b`** command print all the logs from the current boot.

0 commit comments

Comments
 (0)