Magellan Linux

Annotation of /trunk/sudo/patches/sudo-1.8.5p2-disable-from-ssh-login.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1802 - (hide annotations) (download)
Sat Jun 9 12:21:54 2012 UTC (12 years ago) by niro
File size: 686 byte(s)
-added security patches and a patch to preserve a sane magellan environment
1 niro 1802 diff -Naur sudo-1.8.5p2/plugins/sudoers/sudoers.in sudo-1.8.5p2-magellan/plugins/sudoers/sudoers.in
2     --- sudo-1.8.5p2/plugins/sudoers/sudoers.in 2012-06-09 15:18:54.047982798 +0200
3     +++ sudo-1.8.5p2-magellan/plugins/sudoers/sudoers.in 2012-06-09 15:20:22.953982796 +0200
4     @@ -62,6 +62,12 @@
5     # Defaults!/usr/local/bin/sudoreplay !log_output
6     # Defaults!/sbin/reboot !log_output
7    
8     +#
9     +# Disable "ssh hostname sudo <cmd>", because it will show the password in clear.
10     +# You have to run "ssh -t hostname sudo <cmd>".
11     +#
12     +Defaults requiretty
13     +
14     # keep a sane environment for Magellan-Linux
15     Defaults env_reset
16     Defaults env_keep = "COLORS DISPLAY HOSTNAME HISTSIZE INPUTRC LS_COLORS"