home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!vtserf!csugrad!cstruble
- From: cstruble@csugrad.cs.vt.edu (Craig 'Copier Man' Struble)
- Newsgroups: comp.unix.aux
- Subject: Re: Arguments to daemons in /etc/servers
- Message-ID: <BxB6zr.7Hu@csugrad.cs.vt.edu>
- Date: 6 Nov 92 19:19:02 GMT
- References: <REUVEN.92Nov4100728@vongole.mit.edu> <1992Nov5.220209.9687@grebyn.com>
- Organization: Virginia Tech Computer Science Dept, Blacksburg, VA
- Lines: 36
-
- mfraioli@grebyn.com (Marc Fraioli) writes:
-
- >In article <REUVEN.92Nov4100728@vongole.mit.edu> reuven@the-tech.mit.edu writes:
- >>Does anyone know how to set arguments to daemons started in
- >>/etc/servers? I'm running a WAIS server on my A/UX 3.0 box, and the
- >>server program can take an argument that specifies a logfile. The man
- >>page says that fields in /etc/servers are separated by blank space,
- >>but doesn't say whether you can use double quotes to run commands with
- >>arguments. Can this be done? Or should I run the thing from /etc/rc?
- >>
- >>Reuven
-
- >I'm pretty sure you can't do this from /etc/servers. I think you need
- >to make an entry in /etc/inittab for it. I was having some trouble a
- >while back with automounter on DECstations trying to mount A/UX
- >partitions, and needed to add an option to the mountd. Putting it in
- >/etc/servers did not work, but /etc/inittab did. I'm giving you this
- >from memory, so I may be slightly off, but I think this is basically
- >right.
- >--
- >Marc Fraioli
- >mfraioli@grebyn.com (So I'm a minimalist...)
-
- There are a couple of ways to do this. The easiest, but possibly insecure
- way is just to create an executable script and run the server with
- the necessary arguments from within the script. I've done this with
- pidentd-2.0 successfully.
-
- Another way, which I haven't tried, but should be possible, is to write
- a small C program which just execs the server with the arguments.
- See ya later,
- --
- IDEAL - Interface Design Environment and Analysis Lattice
- Craig Struble | cstruble@gnu.ai.mit.edu
- Undergraduate Researcher | cstruble@csugrad.cs.vt.edu
- Va. Tech HCI Project | cstruble@toaster.async.vt.edu(SLIP)
-