home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / sysv386 / 13593 < prev    next >
Encoding:
Text File  |  1992-08-26  |  1.9 KB  |  47 lines

  1. Newsgroups: comp.unix.sysv386
  2. Path: sparky!uunet!scorn!demesne!steph
  3. From: steph@demesne.uucp (Steph Marr)
  4. Subject: Re: setuid problem on SCOUnix v 3.2.2
  5. Organization: Demesne Computing
  6. Distribution: ca
  7. Date: Sat, 22 Aug 1992 21:49:55 GMT
  8. Message-ID: <1992Aug22.214955.5628@demesne.uucp>
  9. References: <1992Aug11.171250.6254@informix.com> <Bt3Mqn.49q@constant.demon.co.uk>
  10. Lines: 35
  11.  
  12. slangley@constant.demon.co.uk (Simon Langley) writes:
  13.  
  14. >Arturo Vega (arturo@informix.com) wrote:
  15. >: Hi,
  16. >: 
  17. >:     I have the following problem on SCOUnix V/386 v 3.2.2:
  18. >: 
  19. >:     Setuid programs revert to normal executables after any
  20. >: update, e.g. running "strip" on such a program will convert it
  21. >: back from setuid to normal.
  22. >: 
  23. >My SVR4 system does the same thing.  It also does this if I copy a suid
  24. >program (but not move).  Although I don't know for sure, I would have thought
  25. >that this was a security feature.  If you could copy a suid program into your
  26. >own directory and then edit it to create you own suid program this would be a
  27. >serious security hole; this would be a faff with a binary program on a system
  28. >that didn't allow suid shell scripts but it would be perfectly possible.
  29.  
  30. In SCO UNIX 3.2.4, there is a kernel tunable parameter called SECCLEARID
  31. that, if you turn it off, will get rid of this behaviour.  Why you would
  32. want to do so is a mystery to me, unless you -like- ruining your system
  33. security, but it's -your- box, and you can do with it what you will.
  34.  
  35. If you care to give me the phone number, and a non-privileged account, I can
  36. show you how to become root inside 5 minutes once you've turned this off.  %^}
  37.  
  38. Note that SCO doesn't allow for setuid shell scripts -- again, that's a
  39. feature if you ask me.  If I want something setuid, I'd just as soon that
  40. it wasn't world read-able as well.
  41.  
  42. Cheers,
  43. -- 
  44. Steph Marr
  45. ...!uunet!sco!demesne!steph
  46. /* This is MY house, and MY machine.  I'll say what I please. */
  47.