zsh-users
 help / color / mirror / code / Atom feed
* Zsh trying to access gcc and binutils binaries on login, why?
@ 2011-08-26 20:18 Piotr Karbowski
  2011-08-29 15:49 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Piotr Karbowski @ 2011-08-26 20:18 UTC (permalink / raw)
  To: zsh-users

Recenty I was fooling around with grsecurity's rbac and found out that 
after each login I have a lot of logs about denied access 
/usr/i686-pc-linux-gnu/ with parent '/bin/zsh'

Why would zsh want execute gcc on login? The list of files:

/usr/i686-pc-linux-gnu/gcc-bin/4.4.5/i686-pc-linux-gnu-c++
/usr/i686-pc-linux-gnu/binutils-bin/2.20.1/ld
/usr/i686-pc-linux-gnu/gcc-bin/4.4.5/i686-pc-linux-gnu-g++
/usr/i686-pc-linux-gnu/gcc-bin/4.4.5/i686-pc-linux-gnu-gfortran
/usr/i686-pc-linux-gnu/gcc-bin/4.4.5/i686-pc-linux-gnu-gcc
/usr/i686-pc-linux-gnu/binutils-bin/2.20.1/readelf
/usr/i686-pc-linux-gnu/binutils-bin/2.20.1/c++filt
/usr/i686-pc-linux-gnu/binutils-bin/2.20.1/size
/usr/i686-pc-linux-gnu/binutils-bin/2.20.1/ar
/usr/i686-pc-linux-gnu/binutils-bin/2.20.1/addr2line
/usr/i686-pc-linux-gnu/binutils-bin/2.20.1/objcopy

-- Piotr.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Zsh trying to access gcc and binutils binaries on login, why?
  2011-08-26 20:18 Zsh trying to access gcc and binutils binaries on login, why? Piotr Karbowski
@ 2011-08-29 15:49 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2011-08-29 15:49 UTC (permalink / raw)
  To: zsh-users

On Aug 26, 10:18pm, Piotr Karbowski wrote:
}
} Recenty I was fooling around with grsecurity's rbac and found out that 
} after each login I have a lot of logs about denied access 
} /usr/i686-pc-linux-gnu/ with parent '/bin/zsh'
} 
} Why would zsh want execute gcc on login?

It doesn't.  It just wants to enter it into the hash table in case you
execute it from the prompt later (or in case you attempt to complete
it).  The users for whom this is a problem likely should not have the
gcc-bin and binutils-bin directories in their $path in the first place.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-29 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-26 20:18 Zsh trying to access gcc and binutils binaries on login, why? Piotr Karbowski
2011-08-29 15:49 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).