From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,7ee3f34b5e69dc80 X-Google-Attributes: gidfee84,public From: iglesias@draco.acs.uci.edu (Mike Iglesias) Subject: Re: some more questions! Date: 1995/11/07 Message-ID: <47n0i9$n1e@news.service.uci.edu>#1/1 X-Deja-AN: 118866436 references: <47mj01$4o9@sundog.tiac.net> organization: University of California, Irvine newsgroups: comp.unix.osf.osf1 In article <47mj01$4o9@sundog.tiac.net>, Scott Lipcon wrote: |1) emacs... the guy who set up my system compiled it. I have /bin/emacs |and /usr/bin/X11/xemacs. They both appear to be the same (I didn't check |sizes, but I can't see any differences on screen). On my sun at work |this summer, emacs had menus. This one doesnt. It does open its own |window correctly. Does it need to be re-compiled with a different set of |options? The version is: GNU Emacs 18.59.1 of Tue Jul 25 1995 You'll need to get the sources to Emacs v19 to get menus. You may also need some patches to emacs so it will compile/work on dUnix; The patch file is available from: ftp://gatekeeper.dec.com:pub/GNU/emacs-19.28-alpha-patch.README Some future version will have the patches merged (it may already, I haven't been keeping track). |2) adding a service... I want to run a standalone web server (not from |inetd). I have it running just fine, if I su to root and launch it |normally. I want it to run on boot though. Can I make a new file in |/sbin/rc3.d/ called SXXhttpd and write a simple scripts to lauch it? |What number would be a good value for S[XX]? In between what and what? Use a number between 90-99. You're on the right track to getting your server started at boot time. |3) name servers.... I have been using a dialup slip account with no |problems except that my name servers wont work. I dont want to run my |own server, or BIND, if I can avoid it. I just want it to use my ISP's |nameservers. From the resolve.conf(4) man page, it seems that the first |call to the resolver C routines loads resolve.conf and uses the |nameserver(s) listed. Here is my resolve.conf file: | |domain tiac.net |nameserver 199.0.65.2 | |(if it matters, 199.0.65.2 is zork.tiac.net, tiac's primary name server. |I hadn't put in their other servers yet, but I will if I can get this going.) You probably have not setup /etc/svc.conf so that hostname requests are passed to the nameservers. Either edit the above file or run /usr/sbin/svcsetup. You probably want "hosts=local,bind". |4) is there any way to allow ONLY certain users to log on from the |console (xdm)? I want the regular users to only log on via telnet, but |allow some users (not just root, for example, my account, webmaster, and |other people who I know won't screw too much up) I've never done this, but you probably want to look at the scripts that xdm uses (in /usr/lib/X11/xdm). You can probably put some checks in Xsession to make sure one of your "trusted" users is logging on, and if not, exit. See the xdm man page for more information on how it uses the scripts. -- Mike Iglesias Internet: iglesias@draco.acs.uci.edu University of California, Irvine phone: (714) 824-6926 Office of Academic Computing FAX: (714) 824-2069