Adding a username alias using the command line
The information is accessible through dscl. To add the alias "visitor" and be able to use this username for guest login, use the following command:

sudo dscl . -merge Users/Guest RecordName visitor