It’s very bad, and it’s forbidden. With root privileges, you can control the entire server, and you can change any configuration at will. If your code has loopholes, then you are in trouble....
In addition, after release, if your project has actions related to interacting with the system, there may be various wonderful problems, such as permission issues (the online environment will definitely not let you use root)
I think the convenience outweighs the risks. The development environment is not that expensive. As for rm and other commands, you can use alias -i and there will be prompts
It’s very bad, and it’s forbidden.
With root privileges, you can control the entire server, and you can change any configuration at will.
If your code has loopholes, then you are in trouble....
In addition, after release, if your project has actions related to interacting with the system, there may be various wonderful problems, such as permission issues (the online environment will definitely not let you use root)
I think the convenience outweighs the risks. The development environment is not that expensive. As for rm and other commands, you can use alias -i and there will be prompts