
ubuntu root模式
Instead of having to constantly type in ‘sudo’ every time you need to make an admin change, you can use one of these commands to act as root.
不必每次需要进行管理员更改时都必须不断输入“ sudo”,而可以使用以下命令之一充当root用户。
To switch to full root mode:
切换到全根模式:
sudo -s -H
须藤-s -H
To switch to using root mode, but still act as your user account:
要切换到使用root模式,但仍充当您的用户帐户,请执行以下操作:
sudo -s
须藤-s
翻译自: https://www.howtogeek.com/howto/ubuntu/make-ubuntu-stay-in-root-mode/
ubuntu root模式