[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Files created with emacs are owned by system
From: |
Joost Kremers |
Subject: |
Re: Files created with emacs are owned by system |
Date: |
1 Aug 2008 17:47:47 GMT |
User-agent: |
slrn/0.9.8.1 (Linux) |
iainb.forms@googlemail.com wrote:
> For the record
> ls -l /usr/local/bin/emacs
> -rwxr-xr-t 2 root wheel 9673784 Aug 1 15:36 /usr/local/bin/emacs
>
> ls -l /usr/bin/emacs
> -r-sr-xr-x 1 root wheel 30008 Aug 19 2006 /usr/bin/emacs
see? as i thought, the emacs binary is set-uid root.
the question is, why? emacs is in essence a full programming language, so
when it's suid root, anyone with shell access to your machine can basically
do anything they want on it. which, obviously, is a major security risk.
so assuming that apple didn't do this as part of the standard install, and
if *you* didn't change it either, then who the hell did?
another thing i don't really understand is that /usr/bin/emacs is only
30008 bytes large. the emacs binary you compiled is about 300 times
bigger...
are you sure that box isn't hacked into?
--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
- Re: Files created with emacs are owned by system, (continued)
- Re: Files created with emacs are owned by system, Peter Dyballa, 2008/08/01
- Message not available
- Re: Files created with emacs are owned by system, Joost Kremers, 2008/08/01
- Re: Files created with emacs are owned by system, Richard G Riley, 2008/08/01
- Re: Files created with emacs are owned by system, Joost Kremers, 2008/08/01
- Re: Files created with emacs are owned by system, iainb . forms, 2008/08/01
- Re: Files created with emacs are owned by system, Joost Kremers, 2008/08/01
- Re: Files created with emacs are owned by system, iainb . forms, 2008/08/01
- Re: Files created with emacs are owned by system, Peter Dyballa, 2008/08/01
- Re: Files created with emacs are owned by system, Thierry Volpiatto, 2008/08/01
- Re: Files created with emacs are owned by system, Peter Dyballa, 2008/08/01
- Re: Files created with emacs are owned by system,
Joost Kremers <=
- Re: Files created with emacs are owned by system, Peter Dyballa, 2008/08/01
- Message not available
- Re: Files created with emacs are owned by system, David Kastrup, 2008/08/01
- Re: Files created with emacs are owned by system, Peter Dyballa, 2008/08/01
- Re: Files created with emacs are owned by system, iainb . forms, 2008/08/02
- Re: Files created with emacs are owned by system, Mark Hood, 2008/08/06
- Message not available
- Re: Files created with emacs are owned by system, Joost Kremers, 2008/08/01
- Re: Files created with emacs are owned by system, Tim X, 2008/08/01
- Message not available
- Re: Files created with emacs are owned by system, D. Power, 2008/08/02
- Re: Files created with emacs are owned by system, Peter Dyballa, 2008/08/01
- Re: Files created with emacs are owned by system, Tim X, 2008/08/01