xref: /titanic_50/usr/src/cmd/gss/gssd/gss.xml (revision 1f03f0496b37f42bc76df041144b1cf7e47fcda4)
17c478bd9Sstevel@tonic-gate<?xml version='1.0'?>
27c478bd9Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
37c478bd9Sstevel@tonic-gate
47c478bd9Sstevel@tonic-gate<!--
5*1f03f049SPeter Shoults Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
67c478bd9Sstevel@tonic-gate Use is subject to license terms.
77c478bd9Sstevel@tonic-gate
87c478bd9Sstevel@tonic-gate CDDL HEADER START
97c478bd9Sstevel@tonic-gate
107c478bd9Sstevel@tonic-gate The contents of this file are subject to the terms of the
11*1f03f049SPeter Shoults Common Development and Distribution License (the "License").
12*1f03f049SPeter Shoults You may not use this file except in compliance with the License.
137c478bd9Sstevel@tonic-gate
147c478bd9Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
157c478bd9Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing.
167c478bd9Sstevel@tonic-gate See the License for the specific language governing permissions
177c478bd9Sstevel@tonic-gate and limitations under the License.
187c478bd9Sstevel@tonic-gate
197c478bd9Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each
207c478bd9Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE.
217c478bd9Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the
227c478bd9Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying
237c478bd9Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner]
247c478bd9Sstevel@tonic-gate
257c478bd9Sstevel@tonic-gate CDDL HEADER END
267c478bd9Sstevel@tonic-gate
277c478bd9Sstevel@tonic-gate	NOTE:  This service manifest is not editable; its contents will
287c478bd9Sstevel@tonic-gate	be overwritten by package or patch operations, including
297c478bd9Sstevel@tonic-gate	operating system upgrade.  Make customizations in a different
307c478bd9Sstevel@tonic-gate	file.
317c478bd9Sstevel@tonic-gate
327c478bd9Sstevel@tonic-gate	Service manifest for gss
337c478bd9Sstevel@tonic-gate-->
347c478bd9Sstevel@tonic-gate
357c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWgssc:gss'>
367c478bd9Sstevel@tonic-gate
377c478bd9Sstevel@tonic-gate<service
387c478bd9Sstevel@tonic-gate	name='network/rpc/gss'
397c478bd9Sstevel@tonic-gate	type='service'
407c478bd9Sstevel@tonic-gate	version='1'>
417c478bd9Sstevel@tonic-gate
427c478bd9Sstevel@tonic-gate	<create_default_instance enabled='false' />
437c478bd9Sstevel@tonic-gate
447c478bd9Sstevel@tonic-gate	<restarter>
457c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/inetd:default' />
467c478bd9Sstevel@tonic-gate	</restarter>
477c478bd9Sstevel@tonic-gate
487c478bd9Sstevel@tonic-gate	<dependency name='rpcbind'
497c478bd9Sstevel@tonic-gate	    grouping='require_all'
507c478bd9Sstevel@tonic-gate	    restart_on='restart'
517c478bd9Sstevel@tonic-gate	    type='service'>
527c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/rpc/bind' />
537c478bd9Sstevel@tonic-gate	</dependency>
547c478bd9Sstevel@tonic-gate
557c478bd9Sstevel@tonic-gate	<dependency name='keyserv'
567c478bd9Sstevel@tonic-gate		grouping='optional_all'
577c478bd9Sstevel@tonic-gate		restart_on='none'
587c478bd9Sstevel@tonic-gate		type='service'>
597c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/rpc/keyserv' />
607c478bd9Sstevel@tonic-gate	</dependency>
617c478bd9Sstevel@tonic-gate
627c478bd9Sstevel@tonic-gate	<exec_method
637c478bd9Sstevel@tonic-gate	    type='method'
647c478bd9Sstevel@tonic-gate	    name='inetd_start'
657c478bd9Sstevel@tonic-gate	    exec='/usr/lib/gss/gssd'
667c478bd9Sstevel@tonic-gate	    timeout_seconds='0'>
677c478bd9Sstevel@tonic-gate	    <method_context>
687c478bd9Sstevel@tonic-gate		<method_credential
697c478bd9Sstevel@tonic-gate			user='root'
70*1f03f049SPeter Shoults			group='nogroup'
71*1f03f049SPeter Shoults			privileges='basic,!file_link_any,!proc_info,!proc_session,net_privaddr,file_chown,file_dac_read,file_dac_write,proc_setid'
72*1f03f049SPeter Shoults			limit_privileges='basic,!file_link_any,!proc_info,!proc_session,net_privaddr,file_chown,file_dac_read,file_dac_write,proc_setid'
737c478bd9Sstevel@tonic-gate		/>
747c478bd9Sstevel@tonic-gate	    </method_context>
757c478bd9Sstevel@tonic-gate	</exec_method>
767c478bd9Sstevel@tonic-gate
777c478bd9Sstevel@tonic-gate	<exec_method
787c478bd9Sstevel@tonic-gate	    type='method'
797c478bd9Sstevel@tonic-gate	    name='inetd_offline'
807c478bd9Sstevel@tonic-gate	    exec=':kill_process'
817c478bd9Sstevel@tonic-gate	    timeout_seconds='0'>
827c478bd9Sstevel@tonic-gate	</exec_method>
837c478bd9Sstevel@tonic-gate
847c478bd9Sstevel@tonic-gate	<exec_method
857c478bd9Sstevel@tonic-gate	    type='method'
867c478bd9Sstevel@tonic-gate	    name='inetd_disable'
877c478bd9Sstevel@tonic-gate	    exec=':kill'
887c478bd9Sstevel@tonic-gate	    timeout_seconds='0'>
897c478bd9Sstevel@tonic-gate	</exec_method>
907c478bd9Sstevel@tonic-gate
917c478bd9Sstevel@tonic-gate	<property_group name='inetd' type='framework'>
927c478bd9Sstevel@tonic-gate		<stability value='Evolving' />
937c478bd9Sstevel@tonic-gate		<propval name='endpoint_type' type='astring' value='tli' />
947c478bd9Sstevel@tonic-gate		<propval name='name' type='astring' value='100234' />
957c478bd9Sstevel@tonic-gate		<propval name='proto' type='astring' value='ticotsord' />
967c478bd9Sstevel@tonic-gate        	<propval name='isrpc' type='boolean' value='true' />
977c478bd9Sstevel@tonic-gate		<propval name='rpc_low_version' type='integer' value='1' />
987c478bd9Sstevel@tonic-gate		<propval name='rpc_high_version' type='integer' value='1' />
997c478bd9Sstevel@tonic-gate		<propval name='wait' type='boolean' value='true' />
1007c478bd9Sstevel@tonic-gate	</property_group>
1017c478bd9Sstevel@tonic-gate
1027c478bd9Sstevel@tonic-gate	<stability value='Unstable' />
1037c478bd9Sstevel@tonic-gate
1047c478bd9Sstevel@tonic-gate	<template>
1057c478bd9Sstevel@tonic-gate		<common_name>
1067c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>
1077c478bd9Sstevel@tonic-gate				Generic Security Service
1087c478bd9Sstevel@tonic-gate			</loctext>
1097c478bd9Sstevel@tonic-gate		</common_name>
1107c478bd9Sstevel@tonic-gate		<documentation>
1117c478bd9Sstevel@tonic-gate			<manpage title='gssd' section='1M'
1127c478bd9Sstevel@tonic-gate			    manpath='/usr/share/man' />
1137c478bd9Sstevel@tonic-gate		</documentation>
1147c478bd9Sstevel@tonic-gate	</template>
1157c478bd9Sstevel@tonic-gate
1167c478bd9Sstevel@tonic-gate</service>
1177c478bd9Sstevel@tonic-gate
1187c478bd9Sstevel@tonic-gate</service_bundle>
119