home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 21794 < prev    next >
Encoding:
Text File  |  1992-12-27  |  2.8 KB  |  68 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!gatech!destroyer!cs.ubc.ca!news.UVic.CA!sanjuan!pmacdona
  3. From: pmacdona@sanjuan (Peter MacDonald)
  4. Subject: xdm without rc.local
  5. Message-ID: <1992Dec27.063227.23838@sol.UVic.CA>
  6. Sender: news@sol.UVic.CA
  7. Nntp-Posting-Host: sanjuan.uvic.ca
  8. Organization: University of Victoria, Victoria, BC, CANADA
  9. Date: Sun, 27 Dec 92 06:32:27 GMT
  10. Lines: 56
  11.  
  12. I am working on fixing some of the most commonly posted problems
  13. or requested features for the next SLS.  One of them is xdm.
  14. I have recompiled it, and am trying to find a way to start it 
  15. without putting it in rc.local (ie, from the command line).
  16. Can someone offer up any help?
  17.  
  18. Xdm, xlock etc had to be recompiled because of shadow passwords.
  19. Effectively, these programs, plus any others that let new users
  20. into the system (ie, check passwords), must now be suid root.
  21. Ditto for ftpd.
  22.  
  23. In addition, shadow passwords uses its own set of interfaces that
  24. is like, but different from getpwent, getpwname, getgrent, etc.
  25. I have crafted an interface that uses macros to redefine these
  26. calls to allow shadow password to fill in the password fields, 
  27. assuming the program is compiled with -DSHADOW_PWD, and is
  28. suid root.  One caveat is that xlock had to be changed to use:
  29.  
  30.     pw=getpwuid(getuid())
  31.  
  32. instead of
  33.  
  34.     pw=getpwnam(cuserid(NULL))
  35.  
  36. This because of the suid.  If anyone thinks this is a security
  37. problem, let me know.  Xdm need no source changes, other than
  38. to delete a few "extern char *crypt()" defs.
  39.  
  40. Finally, I don't really plan a new release of SLS until at least
  41. libc 4.2 is released.   I am also hoping that the X11 libs get
  42. recompiled as jump tables.  And of course 1.0 will be out soon.
  43. One change expected is that you will be able to run executables
  44. from the DOS and NFS file systems (albeit with no sharing, demand
  45. loading, etc).  The implication is that disk a2 will no longer
  46. be an image, but instead a DOS disk like all the rest of SLS.
  47. The only problem I forsee is that people with 2Meg will have an
  48. even tougher time installing, because now the whole image will
  49. need to be loaded to run.  Oh well.
  50.  
  51. Other things that will be there are lpr, a lot of updated binaries
  52. (including sed, which 4.2 breaks),  and some new or missing binaries
  53. and man pages.  The new gcc 2.3 as well.  Hopefully most of the FPQ
  54. (frequently posted queries) will be addressed, so that traffic on 
  55. col can be reduced.
  56.  
  57. As for interviews, I got it all to compile and it all runs, but
  58. for doc, which core dumps on me.  The doc posted by some others
  59. (Thomas and Mike) also core dump on me.  I have a 387, so don't
  60. know why.  My big problem though is that when I run any of the
  61. IV stuff, the Xserver occasionally catches signal 11's and 
  62. barfs, dropping back out to text mode?  I don't know if this is
  63. due to gcc or X?  If anyone has had better luck, let me know.
  64.  
  65. Peter.
  66. pmacdona@sanjuan.uvic.ca
  67.  
  68.