给用户添加sudo权限

来源:互联网 发布:淘宝美女图片 编辑:程序博客网 时间:2024/04/28 18:58
  • 切换到root模式,编辑etc/sudoers
[hadoop@localhost /]$ su rootPassword:ABRT has detected 1 problem(s). For more info run: abrt-cli list[root@localhost /]# ls -l|grep sud[root@localhost /]# cd /etc[root@localhost etc]# find . |grep sudoers./sudoers./sudoers.d[root@localhost etc]# nano sudoers[root@localhost etc]#


原创粉丝点击