sudo bash : change the current user into root

su u1: change the current user into u1

useradd: add new user into system

userdel: delete a user from system

groups: check a user's group information

chown: chang a file's owner

chmod: chang a file's mod

gpasswd -a u3 foo: add user into a group

su u1 -c "./objput doc<testfile"

 

相关文章:

  • 2021-05-20
  • 2022-12-23
  • 2021-06-08
  • 2022-03-01
  • 2021-06-27
  • 2021-10-03
猜你喜欢
  • 2022-01-07
  • 2022-12-23
  • 2021-08-01
  • 2022-12-23
  • 2021-09-29
  • 2022-12-23
相关资源
相似解决方案