Hi William,

Looking at sc_sample.xml, it does not seem to reflect the latest
changes, in particular section specifying user account should be
changed in following way (uid not explicitly specified, user assigned
with 'System Administrator' profile):

<property_group name="user_account" type="application">
<propval name="login" value="jack"/>
<propval name="password" value="9Nd/cwBcNWFZg"/>
<propval name="description" value="default_user"/>
<propval name="shell" value="/usr/bin/bash"/>
<propval name="uid" value='101'/>
<propval name="gid" value='10'/>
<propval name="type" value="normal"/>
<propval name="roles" value="root"/>
</property_group>

->

<property_group name="user_account" type="application">
<propval name="login" value="jack"/>
<propval name="password" value="9Nd/cwBcNWFZg"/>
<propval name="description" value="default_user"/>
<propval name="shell" value="/usr/bin/bash"/>
<propval name="gid" value='10'/>
<propval name="type" value="normal"/>
<propval name="roles" value="root"/>
<propval name="profiles" value="System Administrator"/>
</property_group>

Thank you,
Jan


On 04/28/11 11:54 AM, William Schumann wrote:
Modified code to use 'svccfg apply -n' to validate, since it tolerates missing 'type' attributes. Tested code and sample profile changes.

Please review changes.
  http://cr.opensolaris.org/~wmsch/bug-7037229/

William
On 04/22/11 11:05 AM, William Schumann wrote:
On 04/21/11 08:10 PM, Dave Miner wrote:
William, your change is OK, though I'd note a general point in this whole example file that the type attribute for propvals is not required in a profile (and really shouldn't be used so that there isn't the possibility of disagreement with the service manifest that defines them and any resulting weird behavior), so I would like to see them removed in order to provide a more concise and correct example.


_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to