分页: 1 / 1

求Ubuntu下的/etc/sudoers文件

发表于 : 2007-12-16 11:31
smartliu
现在用了gentoo,比较怀念过去在ubuntu下的sudo。虽然不难,但想看看Ubuntu下怎么配置的。LiveCD的好像和安装在硬盘上的有点不同。

能不能把配置贴一下?谢谢!

发表于 : 2007-12-16 21:35
oneleaf
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
# Defaults

Defaults !lecture,tty_tickets,!fqdn

# Uncomment to allow members of group sudo to not need a password
# %sudo ALL=NOPASSWD: ALL

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

发表于 : 2007-12-17 7:30
smartliu
Thanks, Oneleaf.

发表于 : 2008-02-12 21:36
vvoody
gentoo下没sudo?