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