Gets or sets the default shell assigned to new users in the zone.


string DefaultShell {get; set;}

Property value

The default shell property for the zone.


The value you define for this property is automatically populated as the default shell when defining the UNIX profile for a new user in Access Manager. The value can be overridden by the administrator defining the user’s profile.


The following code sample illustrates using this method in a script:

'Specify the zone you want to work with
set objZone = cims.GetZone(" Data/Acme/Zones/default")
'Specify zone properties
objZone.DefaultHomeDirectory = "/home/admin"
objZone.DefaultShell = "/bin/bash"
objZone.NextAvailableUID = zone.NextAvailableUID + 1
objZone.NextAvailableGID = zone.NextAvailableGID + 1