Basic linux management-general Linux technology-Linux technology and application information. For more information, see the following section. 1. User Management
Linux is divided into three types: management users, common users, and special users. The Administrator has a username, password, and home directory. The configuration files include/etc/passwd.
This file stores information of all accounts in the system and is a very important file in the system. In addition, each user has the read permission. Only the root user can read the/etc/shadow file.
Ii. File owner and permissions
D indicates the file directory,-indicates the file, and l indicates the connection file.
For a directory, the execution permission indicates whether the directory can be accessed. Whether the read permission can view the contents of the directory. The Write Permission indicates whether the directory can be created or deleted.
Related commands:
Chown -- change the owner and group attributes of a file
For example, chown-r root work_space
Chgrp-Change User Group
Chmod -- change the object access permission (1, 2, 4)
Iii. Partition Management
Fdisk
Linux allocates a variety of IDE devices to a file consisting of the first and most hd devices. Similarly, for SCSI, linux assigns a Partition Number of 1-16 to each hard disk. Each hard disk can have a maximum of four primary partitions (including extended partitions). Each extended partition occupies a primary partition number, that is, a primary partition and a maximum of four extended partitions. The primary partition is system-guided. This is the biggest difference between logic and extended partitions.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.