Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Ignore insecure directories and continue



On Sun, Jun 15, 2008 at 15:34:03 +0000, zzapper wrote:

> >> getent:4: command not found: grep
> > 
> > ls =grep
> $ ls -l =grep
> -rwxrwxrwx+ 1 davidr Users 157184 Jun 10  2007 /usr/bin/grep

So I suspect some $PATH issue.
NB my grep resides is /bin.

> > Check owner of these directories.
> $ ls -ld /usr/local/bin
> drwxrwxrwt+ 8 davidr Users 0 Dec 11  2007 /usr/local/bin

And that doesn't seem secure - user binaries should reside in ~/bin,
while this directory shall have:

drwxr-xr-x 2 root root 624 Feb 26  2007 /usr/local/bin

-- 
Tomasz Pala <gotar@xxxxxxxxxxxxx>



Messages sorted by: Reverse Date, Date, Thread, Author