[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sticky permissions on files...
On Thu, 2005-01-27 at 21:59, Ken Keefe wrote:
> What is the deal???
The deal is that your computer doesn't let you be stupid so easily. ;->
Long story short, there is a difference between setting a _binary_ as
suid and a _script_. Long story short, your _login_ shell is _not_
running as root, hence why whoami reports who is logged into the _login_
shell, and why lines in a script still run as you.
Consider using the rcs tools (ci, co, etc...) to allow regular users to
change system-wide configuration files. Users _still_ need write access
to the directory, but it works very, very well (even when the directory
is set to sticky bit).
Otherwise, sudo exists for reasons as well.
--
Bryan J. Smith b.j.smith@ieee.org
-------------------------------------------------------------------
Linux Is Everywhere Insight #5: Branding Requirements in Licenses
How do you tell if an embedded appliance runs Linux? You can't
There is no requirement that a vendor disclose it runs Linux
How do you tell if an embedded appliance runs Windows? The logo
Because the Microsoft Windows logo will be bigger than the vendor's
-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.