Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Privilege Management in Linux

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

This article will explain in detail about the rights management in Linux, the content of the article is of high quality, so share it with you for reference. I hope you can get something after reading this article.

How to view and read permission information

How to view file properties and directory properties

Understanding of the fields of the attribute

Understanding of file attribute fields 1 type 2 file permissions file permissions 3SELinux ContentSELinux Content4 file hard links number of subdirectories 5 number of file owners 6 file owners group files have group 7 file size directory subfile or subdirectory metadata size 8 the contents of the directory were last modified One modified time 9 file name directory name file owner and ownership group

File ownership group and ownership group

Linux is a multi-user and multi-task system. Many people often use the same host to work at the same time. They classify users by considering everyone's right to privacy and their preferred working environment.

User's identity division of the file

1. File owner (user)

two。 Group to which the file belongs (group)

3. Others (other)

Change the file owner and the method of owning the group

File owners and ownership groups can only be modified by superuser root

The way to change is as follows

Chown user name file chgrp group name file chown-R user name directory chgrp-R group name directory chown user name: group name file | directory

On the rights management in Linux to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report