Article View: comp.std.unix
Article #5Re: chown and chmod u+s: Security Violation - why ?
From: Jerry M. Carlin
Date: Mon, 03 Aug 1992 23:28
Date: Mon, 03 Aug 1992 23:28
29 lines
1794 bytes
1794 bytes
Submitted-by: jmcarli@srv.pacbell.com (Jerry M. Carlin) In article <15ibqsINNc3a@ftp.UU.NET> toon@moene.indiv.nluug.nl (Toon Moene) writes: >.. We allow "normal" users to change >ownership of their files (though this may not be possible in the future), >but not to SETUID their files, since, in the future, neither of these may >be possible. > >Short question: Why is it considered a security risk when people give away >their own files (by chown'ing them to someone else) or setuid 'user' their >own executables (OK, they have to be careful here) ? A lot of our internal environment requires users to be able to chown files typically during installation of software. Forcing people to run as root is DUMB and violates least privilege, a fundamental security precept. It appears as though we're mandating insecurity here not security. This also applies to setuid. Effectively what is going on is to try to protect the ignorant from themselves but the problem that the solution causes is to set up an environment that either has lots more people knowing the root password or some poor, harried administrator running around doing chown's. -- Jerry M. Carlin (510) 823-2441 jmcarli@srv.pacbell.com Alchemical Engineer and Virtual Realist Volume-Number: Volume 28, Number 73
Technical Details
Message-ID:
<15kfefINN464@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: jmcarli@srv.pacbell.com (Jerry M. Carlin) Newsgroups: comp.std.unix Subject: Re: chown and chmod u+s: Security Violation - why ? Date: 3 Aug 1992 16:28:15 -0700 Organization: Pacific*Bell Lines: 29 Sender: sef@ftp.UU.NET Approved: sef@ftp.uucp (Moderator, Sean Eric Fagan) Message-ID: <15kfefINN464@ftp.UU.NET> References: <15ibqsINNc3a@ftp.UU.NET> NNTP-Posting-Host: ftp.uu.net X-Submissions: std-unix@uunet.uu.net