Linux --- user and rights management class command

 

1.Linux user

Divided into three categories:

  • Supervisor: has the highest authority
  • Users of the system: services related to system, but can not be used to log in
  • Ordinary users: Created by super users and assigning privileges, can only operate their own files and directories permissions, can only manage their own process started

 

 

2. User Management Command

(1)useradd

 (2)passwd

(3)usermode

(4)userdel

 (5) the

(6)id、whoami、w

3. User Group Management Command

(1)groupadd

(2)groupmod

(3)groupdel

4. File Permissions Management Commands

Three permission (1) file

 Files user classification:

 

(2) modify the file permissions chmod

(3) modify the file owner chown

(4) to modify the file user group chgrp

 

references:

[1] Linux operating system programming _ China University MOOC (Mu class)

Guess you like

Origin www.cnblogs.com/nxf-rabbit75/p/11719164.html