Gets or sets the default shell for the user.


string Shell {get; set;} 

Property value

A string that defines the path to the default shell for the user from the user’s UNIX profile.


The following code sample illustrates using Shell in a script:

'Get the zone object
Set objZone = cims.GetZone("")
'Get the Active Directory user object
set objUser = cims.GetUser("")
'Get the UNIX profile for the user
profile = objUser.UnixProfileByUid(10001)
'Change the default shell in the user’s UNIX profile
set profile.Shell = “bin/sh”