Since today's security update for woody, sudo spits out lots of
"Looking at .." messages on stdout. This is not only extremely
annoying for me - it also makes it harder to grep through the output
of commands called via sudo, and breaks existing scripts
(numofsomething=`sudo $command | wc -l`...)
This is what it does here:
frank@alhambra:~$ sudo /usr/sbin/runq 2>&1
Looking at PWD=/home/frank...
Looking at WRASTER_COLOR_RESOLUTION0=4...
Looking at COLORFGBG=0;15...
Looking at WINDOWID=14680066...
Looking at GRACE_EDITOR=/usr/bin/X11/xedit...
Looking at LC_MESSAGES=C...
Looking at LESSCLOSE=/usr/bin/lesspipe '%s' '%s'...
Looking at LS_OPTIONS=--color=auto...
Looking at LESSOPEN=|lesspipe %s...
Looking at myoldpwd=...
Looking at GNUSTEP_USER_ROOT=/home/frank/GNUstep...
Looking at USER=frank...
Looking at LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.ogg=01;35:*.mp3=01;35:*.wav=01;35:...
Looking at LC_TYPE=de_DE@euro...
Looking at OLDPWD=/home/frank/src/packages_for_mydebwork/perl-doc-html...
Looking at doku=/usr/share/doc...
Looking at CVS_RSH=ssh...
Looking at EDITOR=emacs...
Looking at LANG=de_DE@euro...
Looking at LC_NUMERIC=C...
Looking at COLORTERM=rxvt...
Looking at DISPLAY=:0.0...
Looking at LOGNAME=frank...
Looking at SHLVL=2...
Looking at SSH_AGENT_PID=2155...
Looking at TEXINPUTS=:./bilder...
Looking at MM_CHARSET=ISO-8859-15...
Looking at SHELL=/bin/bash...
Looking at CVSROOT=/var/lib/cvs...
Looking at HOME=/home/frank...
Looking at TERM=rxvt...
Looking at PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/frank/bin:/home/frank/bin...
Looking at WMAKER_BIN_NAME=/usr/bin/WindowMaker...
Looking at _=/usr/bin/sudo...
-- System Information
Debian Release: 3.0-bunk-2
Architecture: i386
Kernel: Linux alhambra 2.4.27 #1 Sam Sep 25 11:29:41 CEST 2004 i686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro
Versions of packages sudo depends on:
ii libc6 2.2.5-11.5 GNU C Library: Shared libraries an
ii libpam-modules 0.72-35 Pluggable Authentication Modules f
ii libpam0g 0.76-14.99.jones.1 Pluggable Authentication Modules l
Package: sudo
Version: 1.6.6-1.2
Severity: grave
Since today's security update for woody, sudo spits out lots of =`sudo $command | wc -l`...)
"Looking at .." messages on stdout. This is not only extremely
annoying for me - it also makes it harder to grep through the output
of commands called via sudo, and breaks existing scripts
(numofsomething
This is what it does here:
frank@alhambra:~$ sudo /usr/sbin/runq 2>&1 COLOR_RESOLUTIO N0=4... 14680066. .. /usr/bin/ X11/xedit. .. /usr/bin/ lesspipe '%s' '%s'... --color= auto... USER_ROOT= /home/frank/ GNUstep. .. no=00:fi= 00:di=01; 34:ln=01; 36:pi=40; 33:so=01; 35:do=01; 35:bd=40; 33;01:cd= 40;33;01: or=40;31; 01:ex=01; 32:*.tar= 01;31:* .tgz=01; 31:*.arj= 01;31:* .taz=01; 31:*.lzh= 01;31:* .zip=01; 31:*.z= 01;31:* .Z=01;31: *.gz=01; 31:*.bz2= 01;31:* .deb=01; 31:*.rpm= 01;31:* .jar=01; 31:*.jpg= 01;35:* .jpeg=01; 35:*.gif= 01;35:* .bmp=01; 35:*.pbm= 01;35:* .pgm=01; 35:*.ppm= 01;35:* .tga=01; 35:*.xbm= 01;35:* .xpm=01; 35:*.tif= 01;35:* .tiff=01; 35:*.png= 01;35:* .mpg=01; 35:*.mpeg= 01;35:* .avi=01; 35:*.fli= 01;35:* .gl=01; 35:*.dl= 01;35:* .xcf=01; 35:*.xwd= 01;35:* .ogg=01; 35:*.mp3= 01;35:* .wav=01; 35:... de_DE@euro. .. /home/frank/ src/packages_ for_mydebwork/ perl-doc- html... share/doc. .. PID=2155. .. :./bilder. .. ISO-8859- 15... /var/lib/ cvs... local/bin: /usr/bin: /bin:/usr/ bin/X11: /usr/games: /home/frank/ bin:/home/ frank/bin. .. BIN_NAME= /usr/bin/ WindowMaker. ..
Looking at PWD=/home/frank...
Looking at WRASTER_
Looking at COLORFGBG=0;15...
Looking at WINDOWID=
Looking at GRACE_EDITOR=
Looking at LC_MESSAGES=C...
Looking at LESSCLOSE=
Looking at LS_OPTIONS=
Looking at LESSOPEN=|lesspipe %s...
Looking at myoldpwd=...
Looking at GNUSTEP_
Looking at USER=frank...
Looking at LS_COLORS=
Looking at LC_TYPE=
Looking at OLDPWD=
Looking at doku=/usr/
Looking at CVS_RSH=ssh...
Looking at EDITOR=emacs...
Looking at LANG=de_DE@euro...
Looking at LC_NUMERIC=C...
Looking at COLORTERM=rxvt...
Looking at DISPLAY=:0.0...
Looking at LOGNAME=frank...
Looking at SHLVL=2...
Looking at SSH_AGENT_
Looking at TEXINPUTS=
Looking at MM_CHARSET=
Looking at SHELL=/bin/bash...
Looking at CVSROOT=
Looking at HOME=/home/frank...
Looking at TERM=rxvt...
Looking at PATH=/usr/
Looking at WMAKER_
Looking at _=/usr/bin/sudo...
-- System Information
Debian Release: 3.0-bunk-2
Architecture: i386
Kernel: Linux alhambra 2.4.27 #1 Sam Sep 25 11:29:41 CEST 2004 i686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro
Versions of packages sudo depends on:
ii libc6 2.2.5-11.5 GNU C Library: Shared libraries an
ii libpam-modules 0.72-35 Pluggable Authentication Modules f
ii libpam0g 0.76-14.99.jones.1 Pluggable Authentication Modules l