用yum install -y sudo后,visudo,在下面找不到“root ALL=(ALL) ALL”,具体见下面

回复 收藏
[root@awulinux ~]# visudo
## Sudoers allows particular users to run various commands as
## the root user, without needing the root password.
##
## Examples are provided at the bottom of the file for collections
## of related commands, which can then be delegated out to particular
## users or groups.
##
## This file must be edited with the 'visudo' command.

## Host Aliases
## Groups of machines. You may prefer to use hostnames (perhaps using
## wildcards for entire domains) or IP addresses instead.
# Host_Alias     FILESERVERS = fs1, fs2
# Host_Alias     MAILSERVERS = smtp, smtp2

## User Aliases
## These aren't often necessary, as you can use regular groups
## (ie, from files, LDAP, NIS, etc) in this file - just use %groupname
## rather than USERALIAS
# User_Alias ADMINS = jsmith, mikem


## Command Aliases
"/etc/sudoers.tmp" 118L, 4002C
2016-05-15 22:55 举报
已邀请:
0

maria

赞同来自:

这一句在底下呢,按方向键下,你会看到更多,大概在倒数13行附近
0

15012941979

赞同来自:

maria 发表于 2016-5-16 10:02
这一句在底下呢,按方向键下,你会看到更多,大概在倒数13行附近

谢谢   谢谢 找到了  

回复帖子,请先登录注册

退出全屏模式 全屏模式 回复
评分
可选评分理由: