java.lang.Object
com.aoindustries.aoserv.client.account.User.Name
com.aoindustries.aoserv.client.linux.User.Name
All Implemented Interfaces:
DtoFactory<UserName>, FastExternalizable, Internable<User.Name>, Externalizable, Serializable, Comparable<User.Name>
Direct Known Subclasses:
User.Name, User.Name
Enclosing class:
User

public static class User.Name extends User.Name implements FastExternalizable
Represents a Linux username. User names must:
  • Be non-null
  • Be non-empty
  • Be between 1 and 32 characters
  • Must start with [a-z]
  • Uses only ASCII 0x21 through 0x7f, excluding space , : ( ) [ ] ' " | & ; A-Z \ /
  • If contains any @ symbol, must also be a valid email address. Please note that the reverse is not implied - email addresses may exist that are not valid user names.
  • May not start with cyrus@
  • TODO: May only end on "$"?
  • TODO: "+" is allowed, "lost+found" should be specifically disallowed due to /home/lost+found on mount points.
  • Must be a valid User.Name - this is implied by the above rules
Author:
AO Industries, Inc.
See Also: