[SM-Discuss] bash_profile and bashrc . . .
Andrew
afrayedknot at thefrayedknot.armory.com
Fri Mar 18 18:42:33 EST 2005
On Fri, Mar 18, 2005 at 06:37:29PM -0500, Geoffrey Derber wrote:
> On Fri, 2005-03-18 at 18:49 +0100, Arjan Bouter wrote:
>
> > This also is not a bug. This is a security measure. Root's profile can/should be
> > different from that of normal users. For example root can have /sbin in $PATH
> > which normal users shouldn't need and to minimize the risk of a non-functional
> > root account things like bash-completion and other stuff which installs in
> > /etc/profile.d shouldn't be in root's profile. By installing a normal file
> > instead of a link you make sure lazy admins don't use /etc/profile instead of
> > their own.
>
> If we are considering the security risk, shouldn't the /sbin directories
> be removed from /etc/profile? In which case we'd also probably want to
> move 'gaze' to /usr/bin or something like that.
I dont think removing /sbin and /usr/sbin from /etc/profile is a security
enhancement. One of the things I like about Source Mage is we DONT do that.
-Andrew
--
__________________________________________________________________________
|Andrew D. Stitt | astitt at sourcemage.org |
|irc: afrayedknot | afrayedknot at t.armory.com |
|aim: thefrayedknot or iteratorplusplus | acedit at armory.com |
|Sorcery Team Lead | ftp://t.armory.com/ |
--------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20050318/b9bca2d9/attachment.bin
More information about the SM-Discuss
mailing list