当前位置:   article > 正文

Linux 下 you need to be root to perform this command_linux you need to be root to perform this command

linux you need to be root to perform this command

在linux 终端执行某条命令时

提示一下错误

you need to be root to perform this command
  • 1

是提示要获取root权限
输入su 回车输入密码

[admin@admin01 ~]$ yum install ssh
Loaded plugins: fastestmirror, langpacks
You need to be root to perform this command.
[admin@admin01 ~]$ su
Password: 
[root@admin01 admin]#
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

即可解决

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/99160
推荐阅读
相关标签
  

闽ICP备14008679号