added requirettyp to the default sudoers
This commit is contained in:
parent
e01e7cd24e
commit
fa67ab3431
11
sudo-1.6.8p12-requiretty.patch
Normal file
11
sudo-1.6.8p12-requiretty.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- sudo-1.6.8p12/sudoers.tty 2006-05-29 14:40:18.000000000 +0200
|
||||||
|
+++ sudo-1.6.8p12/sudoers 2006-05-29 14:46:37.000000000 +0200
|
||||||
|
@@ -13,6 +13,8 @@
|
||||||
|
|
||||||
|
# Defaults specification
|
||||||
|
|
||||||
|
+Defaults requiretty
|
||||||
|
+
|
||||||
|
Defaults env_reset
|
||||||
|
Defaults env_keep = "COLORS DISPLAY HOSTNAME HISTSIZE INPUTRC KDEDIR \
|
||||||
|
LS_COLORS MAIL PS1 PS2 QTDIR USERNAME \
|
10
sudo.spec
10
sudo.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: Allows restricted root access for specified users.
|
Summary: Allows restricted root access for specified users.
|
||||||
Name: sudo
|
Name: sudo
|
||||||
Version: 1.6.8p12
|
Version: 1.6.8p12
|
||||||
Release: 5
|
Release: 6
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Source: http://www.courtesan.com/sudo/dist/sudo-%{version}.tar.gz
|
Source: http://www.courtesan.com/sudo/dist/sudo-%{version}.tar.gz
|
||||||
@ -17,8 +17,10 @@ BuildRequires: openldap-devel
|
|||||||
Patch2: sudo-1.6.8p8-pam-sess.patch
|
Patch2: sudo-1.6.8p8-pam-sess.patch
|
||||||
# don't strip
|
# don't strip
|
||||||
Patch3: sudo-1.6.7p5-strip.patch
|
Patch3: sudo-1.6.7p5-strip.patch
|
||||||
# Default sudoers
|
# Default sudoers: reset env.
|
||||||
Patch4: sudo-1.6.8p12-env-reset.patch
|
Patch4: sudo-1.6.8p12-env-reset.patch
|
||||||
|
# Default sudoers; require tty (#190062)
|
||||||
|
Patch5: sudo-1.6.8p12-requiretty.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Sudo (superuser do) allows a system administrator to give certain
|
Sudo (superuser do) allows a system administrator to give certain
|
||||||
@ -36,6 +38,7 @@ on many different machines.
|
|||||||
%patch2 -p1 -b .sess
|
%patch2 -p1 -b .sess
|
||||||
%patch3 -p1 -b .strip
|
%patch3 -p1 -b .strip
|
||||||
%patch4 -p1 -b .env_reset
|
%patch4 -p1 -b .env_reset
|
||||||
|
%patch4 -p1 -b .tty
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch s390 s390x
|
%ifarch s390 s390x
|
||||||
@ -99,6 +102,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/bin/chmod 0440 /etc/sudoers || :
|
/bin/chmod 0440 /etc/sudoers || :
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 29 2006 Karel Zak <kzak@redhat.com> 1.6.8p12-6
|
||||||
|
- fix #190062 - "ssh localhost sudo su" will show the password in clear
|
||||||
|
|
||||||
* Tue May 23 2006 Karel Zak <kzak@redhat.com> 1.6.8p12-5
|
* Tue May 23 2006 Karel Zak <kzak@redhat.com> 1.6.8p12-5
|
||||||
- add LDAP support (#170848)
|
- add LDAP support (#170848)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user