DefaultShell
Gets or sets the default shell assigned to new users in the zone.
Syntax
string DefaultShell {get; set;}
Property value
The default shell property for the zone.
Discussion
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.
Example
The following code sample illustrates using this method in a script:
...
'Specify the zone you want to work with
set objZone = cims.GetZone("zap.org/Program 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
...