Structs§
Enums§
Constants§
- ADMINISTRATOR_
GROUP_ NAME - Name of the group whose members administer the device, for example by
running a command as another user. Seeded images create it with the
administratoraccount as its member. - MAXIMUM_
USER_ NAME_ LENGTH - Longest accepted user name, in bytes (the same limit as Linux
useradd). - ROOT_
HOME - Home of the built-in root account, which has no account record.
Functions§
- is_
valid_ user_ home - Whether
homeis an acceptable recorded home: a single entry directly below/users, such as/users/aliceor the/users/1000of an older account. The entry may not be.or.., nor contain/, NUL or control characters, and is at most 255 bytes long. - is_
valid_ user_ name - Whether
namemay be given to a new or renamed account.