More on User, Group and Permission

Red Hat Linux Essentials More on User, Group, Permission, Filesystem and System Admin Tools
7 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$49.99
List Price:  $69.99
You save:  $20
€46.64
List Price:  €65.30
You save:  €18.66
£39.89
List Price:  £55.85
You save:  £15.96
CA$68.25
List Price:  CA$95.55
You save:  CA$27.30
A$76.15
List Price:  A$106.62
You save:  A$30.46
S$67.98
List Price:  S$95.18
You save:  S$27.19
HK$391.26
List Price:  HK$547.80
You save:  HK$156.53
CHF 45.56
List Price:  CHF 63.79
You save:  CHF 18.23
NOK kr549.77
List Price:  NOK kr769.72
You save:  NOK kr219.95
DKK kr347.88
List Price:  DKK kr487.07
You save:  DKK kr139.18
NZ$83.68
List Price:  NZ$117.16
You save:  NZ$33.47
د.إ183.60
List Price:  د.إ257.06
You save:  د.إ73.45
৳5,493.12
List Price:  ৳7,690.80
You save:  ৳2,197.68
₹4,172.34
List Price:  ₹5,841.61
You save:  ₹1,669.27
RM238.42
List Price:  RM333.81
You save:  RM95.39
₦66,243.24
List Price:  ₦92,745.84
You save:  ₦26,502.60
₨13,934.07
List Price:  ₨19,508.81
You save:  ₨5,574.74
฿1,850.39
List Price:  ฿2,590.69
You save:  ฿740.30
₺1,617.84
List Price:  ₺2,265.11
You save:  ₺647.26
B$255.79
List Price:  B$358.13
You save:  B$102.34
R936.97
List Price:  R1,311.83
You save:  R374.86
Лв91.24
List Price:  Лв127.74
You save:  Лв36.50
₩68,826.74
List Price:  ₩96,362.95
You save:  ₩27,536.20
₪188.13
List Price:  ₪263.40
You save:  ₪75.26
₱2,884.49
List Price:  ₱4,038.52
You save:  ₱1,154.02
¥7,792.89
List Price:  ¥10,910.67
You save:  ¥3,117.78
MX$856.20
List Price:  MX$1,198.75
You save:  MX$342.54
QR182.49
List Price:  QR255.51
You save:  QR73.01
P688.94
List Price:  P964.58
You save:  P275.63
KSh6,748.65
List Price:  KSh9,448.65
You save:  KSh2,700
E£2,392.02
List Price:  E£3,349.02
You save:  E£957
ብር2,872.52
List Price:  ብር4,021.76
You save:  ብር1,149.23
Kz41,694.65
List Price:  Kz58,375.85
You save:  Kz16,681.20
CLP$47,530.99
List Price:  CLP$66,547.19
You save:  CLP$19,016.20
CN¥362.03
List Price:  CN¥506.87
You save:  CN¥144.84
RD$2,934.22
List Price:  RD$4,108.14
You save:  RD$1,173.92
DA6,720.10
List Price:  DA9,408.68
You save:  DA2,688.58
FJ$112.74
List Price:  FJ$157.85
You save:  FJ$45.10
Q389.28
List Price:  Q545.03
You save:  Q155.74
GY$10,471.17
List Price:  GY$14,660.48
You save:  GY$4,189.30
ISK kr7,010.59
List Price:  ISK kr9,815.39
You save:  ISK kr2,804.80
DH505.57
List Price:  DH707.84
You save:  DH202.26
L884.78
List Price:  L1,238.76
You save:  L353.98
ден2,871.74
List Price:  ден4,020.67
You save:  ден1,148.92
MOP$403.59
List Price:  MOP$565.05
You save:  MOP$161.46
N$944.34
List Price:  N$1,322.15
You save:  N$377.81
C$1,841.99
List Price:  C$2,578.94
You save:  C$736.94
रु6,672.93
List Price:  रु9,342.64
You save:  रु2,669.70
S/188.02
List Price:  S/263.24
You save:  S/75.22
K193.20
List Price:  K270.50
You save:  K77.29
SAR187.49
List Price:  SAR262.50
You save:  SAR75.01
ZK1,326.34
List Price:  ZK1,856.98
You save:  ZK530.64
L232.07
List Price:  L324.92
You save:  L92.85
Kč1,174
List Price:  Kč1,643.69
You save:  Kč469.69
Ft18,283.73
List Price:  Ft25,598.69
You save:  Ft7,314.95
SEK kr545.79
List Price:  SEK kr764.15
You save:  SEK kr218.36
ARS$43,729
List Price:  ARS$61,224.11
You save:  ARS$17,495.10
Bs347.11
List Price:  Bs485.98
You save:  Bs138.87
COP$197,925.35
List Price:  COP$277,111.33
You save:  COP$79,185.97
₡25,432.40
List Price:  ₡35,607.40
You save:  ₡10,174.99
L1,235.97
List Price:  L1,730.46
You save:  L494.48
₲372,674.68
List Price:  ₲521,774.38
You save:  ₲149,099.69
$U1,931.55
List Price:  $U2,704.33
You save:  $U772.77
zł201.70
List Price:  zł282.40
You save:  zł80.69
Already have an account? Log In

Transcript

In the reading section we have learned about user groups and permissions. And here in this video we are going to learn more about user groups and permissions. In advanced level, here we will learn where the password files, the SAM file and other files are located shadow files. The salmon is in Windows version. And what we can do in advance for user, group and permissions so let's start. The authentication information is stored in plain text files.

In the locations as EDC, password shadow group, g shadow the password restores the usernames the shadow which stores the passwords for respective username. Similarly, the group is tours the group names and the G shadow is tours the group passwords. You can use various management tools however, you could not read shadow files. But with certain utilities, you could access those files. The location is a very obscure because you need to protect it securely, you must lock this location, the directory could be logged, and non root users could not access that file. The user management tools include as UI tools and ci tools that come system config users is a UI tool where you can manage user group and permissions.

And with CLA, you can use a user Add User mode and user tail delete. The securing of shadow files and the password files is very important, because certain kind of tools are there which can be used to sniff your password. There is a utility called rootkit, which can be installed in your brand in a pendrive different files. When that pendrive is connected to a system, it directly attacks that shadow file and certain location etc shadow and copies all the files that is placed there. So you must block all the copy, paste and other options. If you want to secure your system, you must also lock any external devices like USB or CD drive, you must lock it protected otherwise your system would be compromised.

System users and groups could be used the server programs such as web or printer search typically, which is run as unprivileged users not as root. You must secure it. Do not remember the root and payments That are called as background process in Linux mail LP and nobody, this could could be used as an unprivileged user, not as a rule, so this does not cause any accidental harm to the system. The running programs in this way limits the amount of damage that any single program can do because they could not access each location and does not could not perform various tasks. You can monitor the login. For connected users you can use w login and reboot history you can use last to see last login, who logged the last four failed login attempts you can check last B and for most recent login you can right command last log who logged the computer last thing the default permission Could be saved with four directories is a triple seven minus unmask triple seven means READ WRITE execute all permissions.

These are permitted for directories so carefully hide change the permissions for the directory which are sensitive, like the shadow side of that tree. The default permission for files is the directory default without execute permission. So you need to provide execute permission when you want to allow a user to execute a certain file. unmask is a set with unmask command and non privileged users unmask is 002. The files with have permission say of 664. The directories will have permission of 775 by default and users and mask is zero to two.

You could change it and this is a default You can add a special permission for executables. A special permission for executables could be placed with su ID and SDA to come up with an SU ID you could have the command which runs with permissions of the owner of the command not executed of the command. Okay, let's come on. And similarly as the it runs with a group affiliation of the group command, you can also create your own command and restore it with a shell script. Similarly, we can do with batch a script on Windows or you could get a special permission for directories or you can use a sticky bit for files and directories with a sticky bit that can set only remote by owner or dude Regardless of write permission for the directory, that could be removed do files or directories, which are defined with sticky bits can be removed only by user who created it or by root, who can do anything.

Whether right permission is allowed or not to the directory, similarly as di D is affiliated for a group with a similar functionality as SDK with. So we learned a brief about user group and permissions and we need to security keep in mind about a rootkit and various things about them. If we explore ethical hacking and cybersecurity, it would be considered and apart in your career, that would allow you to secure your network or database or your environment so You must explore be curious and keep learning keep moving ahead. You will learn more and implement more

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.