1、创建新用户 test

adduser test

2、设置密码 

[root@localhost~]# passwd test
Changing password for user test.
New password:             # 输入密码
Retype new password:      # 再次输入密码
passwd: all authentication tokens updated successfully.

3、更改目录所有者命令

chown -R 用户名称 目录名称

4、杀死某个用户全部的进程

pkill -u test

 

5、更改目录权限命令

chmod -R 755 目录名称

相关文章:

  • 2021-10-11
  • 2022-01-21
  • 2021-09-10
  • 2021-06-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-07
  • 2021-11-15
  • 2021-07-05
  • 2021-10-31
  • 2021-12-03
  • 2022-01-07
  • 2021-06-17
相关资源
相似解决方案