diff options
author | Tavis Ormandy <taviso@gentoo.org> | 2005-06-09 09:10:19 +0000 |
---|---|---|
committer | Tavis Ormandy <taviso@gentoo.org> | 2005-06-09 09:10:19 +0000 |
commit | df8c7b50f9d6f290e903803d4798692bc57ebe9a (patch) | |
tree | d21d9612370091672abc866ffcc3ccb81abf0916 /app-admin | |
parent | stable on ppc64 (diff) | |
download | historical-df8c7b50f9d6f290e903803d4798692bc57ebe9a.tar.gz historical-df8c7b50f9d6f290e903803d4798692bc57ebe9a.tar.bz2 historical-df8c7b50f9d6f290e903803d4798692bc57ebe9a.zip |
add examples
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/sudo/ChangeLog | 6 | ||||
-rw-r--r-- | app-admin/sudo/Manifest | 6 | ||||
-rw-r--r-- | app-admin/sudo/files/sudoers | 7 | ||||
-rw-r--r-- | app-admin/sudo/sudo-1.6.8_p8-r3.ebuild | 4 |
4 files changed, 17 insertions, 6 deletions
diff --git a/app-admin/sudo/ChangeLog b/app-admin/sudo/ChangeLog index d023bcc33f06..30ad58bd31fb 100644 --- a/app-admin/sudo/ChangeLog +++ b/app-admin/sudo/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-admin/sudo # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/ChangeLog,v 1.52 2005/06/09 00:56:14 taviso Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/ChangeLog,v 1.53 2005/06/09 09:10:18 taviso Exp $ + + 09 Jun 2005; Tavis Ormandy <taviso@gentoo.org> files/sudoers, + sudo-1.6.8_p8-r3.ebuild: + add examples to sudoers 09 Jun 2005; Tavis Ormandy <taviso@gentoo.org> sudo-1.6.8_p8-r3.ebuild: nano should be the default editor. diff --git a/app-admin/sudo/Manifest b/app-admin/sudo/Manifest index 214213b055e1..69fb1f99b6f5 100644 --- a/app-admin/sudo/Manifest +++ b/app-admin/sudo/Manifest @@ -1,8 +1,8 @@ MD5 eec74c7e7844116754be94ca7ed74d49 sudo-1.6.8_p8-r2.ebuild 4708 MD5 1830dd653b9b5b92fa5cc86823e06d65 sudo-1.6.7_p5-r2.ebuild 1438 MD5 027e3b3587dbd8bf6e93dd341a1e4162 sudo-1.6.7_p5-r4.ebuild 1501 -MD5 5828cd254c404cb29225685bfcb62c4b sudo-1.6.8_p8-r3.ebuild 5429 -MD5 485622a02d808955649ce3c1f52895cd ChangeLog 7230 +MD5 40e1964bb3bdcc464edba6ddcf8fc545 sudo-1.6.8_p8-r3.ebuild 5429 +MD5 1982bbf27953527907059d588044a5c9 ChangeLog 7348 MD5 02caf6e86d5e08fd89baccd299a0ee3c sudo-1.6.7_p5-r5.ebuild 1508 MD5 8fc22f08ecb2e292e60ce7553c58d0c2 metadata.xml 222 MD5 a5463236fbb98e4ee6b1a0faba8c9c52 files/sudo 135 @@ -13,7 +13,7 @@ MD5 6c08a6d5527a45278ebc165df7f0031d files/sudo-1.6.8_p8 223 MD5 0c8a06b3d3d86e988a826c8d9e86dbbf files/digest-sudo-1.6.8_p8-r2 64 MD5 0c8a06b3d3d86e988a826c8d9e86dbbf files/digest-sudo-1.6.8_p8-r3 64 MD5 0b50aabedf9bb326893b5f1c333e46b2 files/sudo-skeychallengeargs.diff 567 -MD5 7d96f3ce4a5f858afd5962b8ba8118e0 files/sudoers 1339 +MD5 59acf8b0292a8e60b5277b5dc952cfc4 files/sudoers 1645 MD5 b906eb71f7564707384cfa9fc80c1b5f files/sudo-1.6.7_p5-strip-bash-functions.diff 1101 MD5 b1fc3dd8440dc02690820c01190106a3 files/sudo-strip-shellopts.diff 316 MD5 774b75e759fe13c7334c523b1db8ab2e files/sudo_include 67 diff --git a/app-admin/sudo/files/sudoers b/app-admin/sudo/files/sudoers index 923472b93468..4642d501724b 100644 --- a/app-admin/sudo/files/sudoers +++ b/app-admin/sudo/files/sudoers @@ -25,6 +25,9 @@ Defaults env_reset # Allow specific user to bypass env_delete for TERMCAP # Defaults:user env_delete-=TERMCAP +# Set default EDITOR to vi, and do not allow visudo to use EDITOR/VISUAL. +# Defaults editor=/usr/bin/vim, !env_editor + # Runas alias specification # *** REMEMBER *************************************************** @@ -43,6 +46,10 @@ root ALL=(ALL) ALL # Same thing without a password # %wheel ALL=(ALL) NOPASSWD: ALL +# Users in group www are allowed to edit httpd.conf and ftpd.conf +# using sudoedit, or sudo -e, without a password. +# %www ALL=(ALL) NOPASSWD: sudoedit /etc/httpd.conf, /etc/ftpd.conf + # Samples # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom # %users localhost=/sbin/shutdown -h now diff --git a/app-admin/sudo/sudo-1.6.8_p8-r3.ebuild b/app-admin/sudo/sudo-1.6.8_p8-r3.ebuild index eb281bd014e5..39a87930999b 100644 --- a/app-admin/sudo/sudo-1.6.8_p8-r3.ebuild +++ b/app-admin/sudo/sudo-1.6.8_p8-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.6.8_p8-r3.ebuild,v 1.4 2005/06/09 00:56:14 taviso Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.6.8_p8-r3.ebuild,v 1.5 2005/06/09 09:10:18 taviso Exp $ inherit eutils pam @@ -146,7 +146,7 @@ sudo_bad_var() { pkg_postinst() { use skey && use pam && { - ewarn "Sudo will not use skey authentication when compiled with" + ewarn "sudo will not use skey authentication when compiled with" ewarn "pam support." ewarn "To allow users to authenticate with one time passwords," ewarn "you should unset the pam USE flag for sudo." |