home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / att / 2819 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  2.2 KB

  1. Xref: sparky comp.sys.att:2819 comp.sys.3b1:4176
  2. Newsgroups: comp.sys.att,comp.sys.3b1
  3. Path: sparky!uunet!usc!cs.utexas.edu!asuvax!ennews!anasaz!misty!mikew
  4. From: mikew@anasazi.com (Mike Wendel)
  5. Subject: Re: uucp'ing files
  6. Organization: Anasazi Inc, Phoenix AZ USA
  7. Date: Tue, 5 Jan 1993 15:16:50 GMT
  8. Message-ID: <mikew.726247010@misty>
  9. References: <1i92sfINNiej@munnari.OZ.AU> <1993Jan5.134713.16346@cbnews.cb.att.com>
  10. Keywords: 3b2, 3b1, uucp
  11. Sender: usenet@anasazi.com (Usenet News)
  12. Lines: 39
  13.  
  14.  
  15. >In article <1i92sfINNiej@munnari.OZ.AU> muller@munnari.OZ.AU (Paul Muller) writes:
  16. > I have been trying to transfer a 1.4 MB file from the ATT3b1 (aka UNIX PC)
  17. > to the 3b2/400 (BNU) both machines have oodles of HD space, but the file
  18. > gets about 1 MB through then stops. uulog gives no sane reason why, but I am
  19. > guessing a limit on the 3b2. I have tried modifying ULIMIT to 8192 and
  20. > 'touch'ing /etc/system, but the re-made unix has the same problem.
  21. > I am obviously flying blind, can anyone helk?
  22.  
  23. With respect to the 3B2, it is ulimit that is the problem. I can't 
  24. recall the actual details, but its not changable in the kernel in
  25. the SyV R2. I'm not sure about Sys VR3.x. 
  26.  
  27. AT&T used to put out a monthly support newsletter, and they
  28. explained how to get around it. The fix was a simple replacement
  29. for /bin/login. Actually /bin/login would be renamed to /bin/login2
  30. and the new /bin/login would bump up ulimit, and then call the
  31. real login program (/bin/login2).
  32.  
  33. It was a real short program.
  34.  
  35. As for alternative methods, such as bumping ulimit in /etc/profile,
  36. that only works for the bourne and korn shells. Also, you need root
  37. permissions to bump ulimit higher, so you would still need some kind
  38. of suid program to do it. The filter before login is the only sure way
  39. to give everybody a higher ulimit (uucp! which does not run a
  40. shell). Getty is running with root permissions. Login changes to the
  41. user's id before executing the shell.
  42.  
  43. I hope this helps. I don't have the source handy, its on my system
  44. at home (3b2/300).  I'll try to dig it up and post it.
  45.  
  46. --
  47. Michael Wendel                          mikew@anasazi.com
  48. Anasazi, Inc.
  49. 7500 N. Dreamy Draw Dr., Suite 120
  50. Phoenix, AZ 85020
  51. (602) 395-1703
  52.