Linux 下 you need to be root to perform this command
程序员文章站
2022-05-10 09:42:14
...
在linux 终端执行某条命令时
提示一下错误
you need to be root to perform this command
是提示要获取root权限
输入su 回车输入密码
[[email protected] ~]$ yum install ssh
Loaded plugins: fastestmirror, langpacks
You need to be root to perform this command.
[[email protected] ~]$ su
Password:
[[email protected] admin]#
即可解决
上一篇: bash 控制root权限执行