Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!math.lsa.umich.edu!sharkey!umich!vela!schemers From: schemers@vela.acs.oakland.edu (Roland Schemers III) Newsgroups: comp.unix.ultrix Subject: Re: Ultrix Security Summary: man 3 getsvc Keywords: security Message-ID: <3638@vela.acs.oakland.edu> Date: 2 Nov 90 04:34:34 GMT References: <1990Oct31.192812.13169@pslu1.psl.wisc.edu> <9426@orca.wv.tek.com> Reply-To: schemers@vela.acs.oakland.edu (Roland Schemers III) Organization: Oakland University, Rochester MI Lines: 21 In article <9426@orca.wv.tek.com> mike@electro.Berkeley.EDU (Michael Ewan) writes: >In article <1990Oct31.192812.13169@pslu1.psl.wisc.edu>, bill@pslu1.psl.wisc.edu (Bill Roth) writes: >|> >|> Does anybody know if there is a way to programmatically determine what >|> what level of security Ultrix 4 is using? I can't seem to find one. > >Grep for 'SECLEVEL' in the file /etc/svc.conf. It will be one of: The correct way is to call getsvc. It returns a pointer to a svcinfo structure which contains all the good info. Roland -- Roland J. Schemers III Systems Programmer schemers@vela.acs.oakland.edu (Ultrix) Oakland University schemers@argo.acs.oakland.edu (VMS) Rochester, MI 48309-4401 ~Disclaimer::Disclaimer() { reboot(RB_HALT); } (313)-370-4323