Switch root and ordinary users under Linux commands

  • Switch to the rootuser, directly enter suand then enter the password (not the card, but the password is not visible)
    Insert picture description here
  • Return test(普通用户), input su - test(test is the username to switch to)Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_43716048/article/details/108904672