Re: Why does slibclean require root?



On May 21, 4:39 pm, 0xDEADABE <n...@xxxxxxxxxxx> wrote:
Paul Pluzhnikov wrote:
hobie744 <hobie...@xxxxxxxxx> writes:

Just out of curiosity, why does slibclean require root?

Because it affects the *whole* system, and not just the user
running it.

It's been suggested in this forum before to make it setuid.

This is usually needed on development machines -- you build shared
object, run executable using it, detect a bug, and must run slibclean
to remove the buggy shared object from memory.

A nicer solution for the same problem is to make the shared object
non-readable to "other". In that case, it is always loaded into
"private segment" and unloaded on program exit. No slibclean
is needed.

Is that a potential security problem?

A user running 'while : ; do slibclean; done' can make the whole
machine crawl, without exceeding his CPU quota.

Cheers,

Siebel recommends that it be setuid for all users. I did this
begrudgingly to check off a possible problem during installation. Guess
this means that they need it to run to compensate for their skunky code!
;-)

What about using 'sudo' rather than suid? You would then be able to
allow use of it to users who truly need it.

HTH,
Pete's

.



Relevant Pages

  • Re: Damn you, FEDEX! or Nikon D40 lost in Springfield, MO blackhole.
    ... the 2 mp Mavica he had been using with a Nikon D40. ... After shopping around, he got me to order one for him. ... The shipper had it insured, but from what I have read it could take weeks to sort this crap out. ... You may get your insurance from FedEx and a couple weeks later they find it and deliver it. ...
    (alt.photography)
  • Re: Men on the moon?
    ... Mark Fergerson wrote: ... you expect his mom to spend money to buy him a ... surf board when she already provides him with her webtv account? ...
    (sci.physics)
  • Re: The Sci-Fi Rejection Letter That Time Forgot
    ... nations have stockpiled arsenals of these incredible bombs and the time the story is set. ...
    (rec.arts.sf.written)
  • RE: copied music cds have a skip in last 18 seconds
    ... If installing all missing Windows Updates doesn't fix your problem ... xiowan.......in tucson ...
    (microsoft.public.windows.mediacenter)