Linux rights management is a professional knowledge, there are many ways to manage Linux permissions, of course, you can also use commands to achieve this purpose. This article uses Ubuntu as an example to introduce how Ubuntu uses command management permissions.
1.chmod
The first way
chomd [{ugoa}{+-=}{rwx}] [file or directory]
u represents the user to which the file belongs
g represents the user group to which the file belongs
o represents the guest
a represents all users
+-= respectively indicates an increase rights, privileges or to give permission to reduce
so that all the user has write access to the file t2.tmp:
The second way:
chmod [mode = 421 ] [file or folder]
4 means read permission
2 means write permission
1 means execute permission
For example: let the user of the file have All rights, owning group has read and execute permissions, others have execute permissions, so you can set:
understanding of the rwx:
under Previous 12 One page total 2 pages
The chkconfig command under Linux is mainly used to query the system services execu
If the system hardware performance is insufficient, then when playing games or running other softwar
NICs and IP addresses are not one-to-one. Many users create virtual NICs that can b
In the Linux system, sometimes the root user accidentally deletes the root user bec
How to upgrade Docker in Ubuntu system
How to take a screenshot in the Linux system login interface?
Linux uses the cat command to display hidden characters
Linux/Ubuntu 11.10 How to build Android4.0.3 development environment
How Linux uses the arping command to detect IP address conflicts
Linux curl command operation example summary
Ubuntu disables the shutdown confirmation box step
How to quickly switch the old server IP to the new server under Linux
Linux uses PXE to install virtual machines
For safety: six things must be done after installing the XP system (2)
Win10 switch screen keyboard and touch keyboard method
WinXP shutdown and automatic restart is how is it?
Win7 task manager window does not display the user name project how to do
A remote desktop security knowledge
IE was abandoned! Win10 new browser Spartan screenshot exposure
Vmware7 virtual machine how to install win10?
Experts share the skills of remote multi-user login Win2008
How to find the wrong files in the recycle bin under windows7