Solaris 10 rsh



Hi folks,

I'm trying to get the hang of the inetadm, svcs, etc. commands.


I used inetadm -m to set tcp_wrappers=TRUE" for rlogin.

inetadm -l rlogin yeilds:

inetadm -l rlogin
SCOPE NAME=VALUE
name="login"
endpoint_type="stream"
proto="tcp6"
isrpc=FALSE
wait=FALSE
exec="/usr/sbin/in.rlogind"
user="root"
default bind_addr=""
default bind_fail_max=-1
default bind_fail_interval=-1
default max_con_rate=-1
default max_copies=-1
default con_rate_offline=-1
default failrate_cnt=40
default failrate_interval=60
default inherit_env=TRUE
default tcp_trace=FALSE
tcp_wrappers=TRUE


However, in the /var/svc/manifest directory, the rlogin.xml file says
nothing about
tcp_wrappers. I'm just curious where changes like the one above are
recorded.

In the case of shell (rsh).. I changed it so that:

inetadm -l shell:default
SCOPE NAME=VALUE
name="shell"
endpoint_type="stream"
proto="tcp6only,tcp"
isrpc=FALSE
wait=FALSE
exec="/usr/sbin/in.rshd"
user="root"
default bind_addr=""
default bind_fail_max=-1
default bind_fail_interval=-1
default max_con_rate=-1
default max_copies=-1
default con_rate_offline=-1
default failrate_cnt=40
default failrate_interval=60
default inherit_env=TRUE
default tcp_trace=FALSE
tcp_wrappers=TRUE


Yet the xmlfile shell-tcp.xml still shows:

<exec_method
type='method'
name='inetd_start'
exec='/usr/local/bin/tcpd'
timeout_seconds='0'>
<method_context>
<method_credential user='root' group='other' /

</method_context>
<propval name='arg0' type='astring'
value='/usr/sbin/in.rshd' />
</exec_method>

<!--
Use inetd's built-in kill support to disable services.
-->
<exec_method
type='method'
value='/usr/sbin/in.rshd' />
</exec_method>

<!--
Use inetd's built-in kill support to disable services.
-->
<exec_method
type='method'
name='inetd_disable'
exec=':kill'
timeout_seconds='0'>
</exec_method>

<!--
This property group is used to record information about
how this manifest was created. It is an implementation
detail which should not be modified or deleted.
-->
<property_group name='inetconv' type='framework'>
<propval name='converted' type='boolean' value='true' /

<propval name='version' type='integer' value='1' />
<propval name='source_line' type='astring' value=
'shell stream tcp nowait root /usr/local/bin/tcpd /usr/sbin/in.rshd'
/>
</property_group>

<property_group name='inetd' type='framework'>
<propval name='name' type='astring' value='shell' />
<propval name='endpoint_type' type='astring'
value='stream' />
<propval name='proto' type='astring' value='tcp' />
<propval name='wait' type='boolean' value='false' />
<propval name='isrpc' type='boolean' value='false' />
</property_group>


I think this may have been originally imported from an inetd.conf
file. So how do you get changes
manifested in the manifest?

Thanks,

Stuart
.