Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ File permissions under Linux     - Grep, Ack, Ag searches Efficiency Comparison (Linux)

- Linux Getting Started tutorial: build your own Vim (Linux)

- Using DOS command to change UNIX administrator password (Linux)

- Safety testing Unix and Linux server entry succinctly (Linux)

- C language binary tree counts words (Programming)

- Linux create and delete user step (Linux)

- The most simple drive to write and test procedures under linux (Programming)

- Ubuntu Telnet service settings (Linux)

- 64-bit Ubuntu 15.10 How to compile the latest version of the 32 Wine 1.7.53 (Linux)

- Red Hat Linux security settings document (Linux)

- Ubuntu 14.04 + xRDP + Xfce implement Windows Remote Desktop Connection (Linux)

- Zabbix configuration of SNMP (Server)

- Compile and install Redis and register as a system service under RedHat5.8 environment (Database)

- Hardware Firewall Basics (Linux)

- Custom Android UI template Comments (Programming)

- Installation JDK1.7 under Ubuntu14.04 64-bit (Linux)

- Oracle GoldenGate tutorial Second, configure and use (Database)

- Oracle Enterprise Linux 64-bit install apache-tomcat-7.0.53 step (Server)

- Linux firewall iptables beginner tutorial (Linux)

- Using BBED repair ORA-01190 error (Database)

  File permissions under Linux
  Add Date : 2018-11-21      
  Learning Linux, the Linux system to find files than Windows Rights Management is very strict.

Create a new group under Linux: groupadd group name

Linux newly created user: useradd username

Create users and groups: useradd -g group name Username

To view the user information: cat / etc / passwd or vi / etc / passwd which the cat command can only be viewed, not modified permissions, vi command to view existing permissions have modify permissions (ie read / write privileges)

eg: Create two groups: A and group B

Create two users: a and b

Wherein a user belongs to group A, b user belong to group B.

B When the user wants to access a user's files, you must allow a user to the appropriate authority.

Using the command: chmod 777 a

Then use: ls -l will appear

drwxrwxr-x this string of characters, the first of which is the file type, followed by a group of three, respectively, for the current user privileges, the current set of user permissions, user rights of other groups.

w: writable represent value: 2

r: readable representation value: 4

x: represents executable Value: 1

Where 777 represents all users have read and write permissions to perform, because 1 + 2 + 4 = 7, is not it. Nobody said more difficult to understand. .

When the user wants to b Group A, it is necessary to use administrator privileges: usermod -g A b.
- Understanding the Linux load average on other UNIX-Like systems (Linux)
- The bulk batch multiple rows of data collect (Database)
- xCAT Installation Kit (Linux)
- Java coding conventions (Programming)
- Log4cplus logging facility configuration, installation, testing (Linux)
- Postmodern systems programming language (Programming)
- Introduction and use of the Raspberry Pi (Linux)
- Linux installation JDK1.6 rpm.bin assembly (Linux)
- Service Discovery: Zookeeper vs etcd vs Consul (Server)
- Java string equal size comparison (Programming)
- The specified user to execute commands under Linux (Linux)
- Graphing tool: Gnuplot (Linux)
- C language - Traverse pci device (Programming)
- Java object initialization (Programming)
- How to use Android Studio development / debugging Android source code (Linux)
- Binary tree to the next node (Programming)
- Lua regex (string function) (Programming)
- How to create a binary distribution with Bash (Linux)
- Via Twitter how open source library to be used anywhere Emoji emoticons (Linux)
- Use Aptik Battery Monitor monitoring Ubuntu laptop battery usage (Linux)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.