Article View: comp.std.unix
Article #19Re: chown and chmod u+s: Security Violation - why ?
From: Toon Moene
Date: Tue, 04 Aug 1992 03:43
Date: Tue, 04 Aug 1992 03:43
32 lines
1789 bytes
1789 bytes
Submitted-by: toon@moene.indiv.nluug.nl (Toon Moene)
In article <15ibqsINNc3a@ftp.UU.NET> I wrote:
> Recently, I had a short discussion with the support staff of ECMWF's
> Cray Y-MP/8 about the use of chown and chmod u+s on the (new) UNICOS
> 7.0. An excerpt follows:
Signs of declining control of English here ^^^^^^^^^^^^^^^^^^^
[ ... Discussion about security aspects of chown and setuid deleted ...]
Thanks to all those kind enough to mail me why chown isn't a good idea in
ordinary user's hands (I have been too long out of the business of system
administrating OS's, clearly - got to get mean again :-)
The manual page on my NeXT says it quite succinctly:
Only the super-user can change owner, in order to simplify
accounting procedures.
where 'accounting' has to be understood in broad terms ...
Now given that non-root users can't chown, why is letting them chmod u+s
their own executables a bad idea (Except to protect them against
themselves :-))
--
Toon Moene (toon@moene.indiv.nluug.nl)
Kantershof 269, 1104 GN Amsterdam, The Netherlands
Tel.: + 31 20 6982029; Fax: + 31 20 6003411
No Disclaimers; a NeXT at home protects against this occupational hazard.
Volume-Number: Volume 28, Number 76
Technical Details
Message-ID:
<15kud7INN99h@ftp.UU.NET>Path:
arc1-ca.pugleaf.net!sparky!uunet!uunet!not-for-mailReferences:
<15ibqsINNc3a@ftp.UU.NET>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet!not-for-mail From: toon@moene.indiv.nluug.nl (Toon Moene) Newsgroups: comp.std.unix Subject: Re: chown and chmod u+s: Security Violation - why ? Date: 3 Aug 1992 20:43:35 -0700 Organization: Moene Computational Physics, Amsterdam, The Netherlands Lines: 32 Sender: sef@ftp.UU.NET Approved: sef@ftp.uucp (Moderator, Sean Eric Fagan) Message-ID: <15kud7INN99h@ftp.UU.NET> References: <15ibqsINNc3a@ftp.UU.NET> NNTP-Posting-Host: ftp.uu.net X-Submissions: std-unix@uunet.uu.net