🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.security.misc
Article #151

Re: root-owned world-writable files

#151
From: John C. Fowler
Date: Wed, 22 Jul 1992 13:47
22 lines
1574 bytes
In article <14htt0INNiep@hilbert.math.ksu.edu> tar@math.ksu.edu (Tim Ramsey) writes:
>How do you get a complete list of files that are trusted by root, or by
>programs that root trusts (that is, are setuid root)?

To find out if a file is trusted, go to the man directories and grep the
filename on everything, then read the associated man pages where the filename
turned up (important files usually have their own man pages as well).

To find setuid root files, use the "find" command.

>Much easier to simply not have world-writable files owned by root.

Agreed.  Much easier to simply not have world-writable files at all, unless
you can come up with a real reason for needing them.  With UNIX supporting
setuid and setgid programs, it's fairly easy to work around these days.

But I still contend that there's nothing "special" about root owning a
world-writable file that would allow a user to exploit it over anyone else
owning the same file, other than getting around quotas.

-- 
John C. Fowler, jfowler@lanl.gov
Technical Details
Message-ID: <1992Jul22.134745.17309@newshost.lanl.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!lanl!beta.lanl.gov!jfowler
References: <62524@cup.portal.com> <1992Jul21.201056.662@newshost.lanl.gov> <14htt0INNiep@hilbert.math.ksu.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.security.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!lanl!beta.lanl.gov!jfowler
From: jfowler@beta.lanl.gov (John C. Fowler)
Subject: Re: root-owned world-writable files
Message-ID: <1992Jul22.134745.17309@newshost.lanl.gov>
Sender: news@newshost.lanl.gov
Organization: Los Alamos National Laboratory
References: <62524@cup.portal.com> <1992Jul21.201056.662@newshost.lanl.gov> <14htt0INNiep@hilbert.math.ksu.edu>
Date: Wed, 22 Jul 1992 13:47:45 GMT
Lines: 22