# Data Object - HostPosixAccountSpec(vim.host.LocalAccountManager.PosixAccountSpecification)

Extends
  HostAccountSpec
Since
  2.0

## Data Object Description

This data object type contains a POSIX-specific parameter for local account creation.

Properties

Name | Type | Description
--- | --- | ---
posixId* | xsd:int | Deprecated. As of vSphere API 5.1, this property is deprecated and is ignored. The user ID or group ID of a specified account.
shellAccess* | xsd:boolean | Grants shell access. As of vSphere API 5.1, this property is deprecated and is ignored. CreateUser will always set this to true, and UpdateUser will set it to true if it is already false. Also shell access is granted only to users with Administrator role on the root folder and no other non-Admin role on any other inventory object. As of vSphere API 7.0.3.2, this property is no longer ignored and it must be true if a user with administrator permissions needs shell access. It can be set to true for other users only by administrators who themselves have this shell access. Administrators without shell access cannot change the passwords of users with shell access. Setting this property to false for user 'root' has no effect. If this property is not specified when creating a new user account then the default value depends on the following factors: if the calling user does not have shell access then it defaults to false; if the calling user has shell access then it defaults to true, unless overridden by host configuration settings.
Properties inherited from HostAccountSpec
description, id, password
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="HostPosixAccountSpec"> <complexContent> <extension base="vim25:HostAccountSpec"> <sequence> <element name="posixId" type="xsd:int" minOccurs="0"/> <element name="shellAccess" type="xsd:boolean" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>