问题描述
您好,
我在这里请求密码root,因为当我使用FileZilla和WinSCP等程序时,我无法在root或其他某些目录下添加/编辑文件登录。
I am here to request the password to root because when I use programs like FileZilla, and WinSCP I cannot Add/edit files under root or other certain directories with my login.
推荐答案
您可以在以下主题中找到答案: https://stackoverflow.com/questions/24313562/root-login-ubuntu-vm-on-azure
You can find your answer in this thread: https://stackoverflow.com/questions/24313562/root-login-ubuntu-vm-on-azure
"默认情况下,Ubuntu会禁用root帐户。由于root是godmode,因此禁用它意味着所有使用自动脚本试图破解root帐户的黑客都在浪费时间。
b
我强烈建议不要这样做。 (有很多原因,这里有一些:https://askubuntu.com/questions/16178/why-is-it-bad-to-login-as-root)但是,这样做的步骤是在askubuntu上结束。 com
根据该页面,要解锁root帐户,您必须执行sudo passwd -u root。要重新锁定root帐户,请使用sudo passwd -l root"
"by default, Ubuntu disables the root account. Since root is godmode, disabling it means that all of the hackers with automated scripts that try to break the root account are wasting their time.
I highly recommend against this. (There are many reasons, here are some: https://askubuntu.com/questions/16178/why-is-it-bad-to-login-as-root) However, the steps to do so are Over on askubuntu.com
According to that page, to unlock the root account you must execute sudo passwd -u root. To relock the root account, use sudo passwd -l root "
问候,
Msrini
这篇关于需要访问root的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!