diff --git a/sudo-1.6.8p12-requiretty.patch b/sudo-1.6.8p12-requiretty.patch index 8a9e45a..475e5b6 100644 --- a/sudo-1.6.8p12-requiretty.patch +++ b/sudo-1.6.8p12-requiretty.patch @@ -1,9 +1,13 @@ ---- 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 @@ +--- sudo-1.6.8p12/sudoers.tty 2006-05-29 15:10:30.000000000 +0200 ++++ sudo-1.6.8p12/sudoers 2006-05-29 15:17:03.000000000 +0200 +@@ -13,6 +13,12 @@ # Defaults specification ++# ++# Disable "ssh hostname sudo ", because it will show the password in clear. ++# You have to run "ssh -t hostname sudo ". ++# +Defaults requiretty + Defaults env_reset diff --git a/sudo.spec b/sudo.spec index 89d36f0..7176308 100644 --- a/sudo.spec +++ b/sudo.spec @@ -38,7 +38,7 @@ on many different machines. %patch2 -p1 -b .sess %patch3 -p1 -b .strip %patch4 -p1 -b .env_reset -%patch4 -p1 -b .tty +%patch5 -p1 -b .tty %build %ifarch s390 s390x