a–z
) and digits (0–9
).0–9
) or the string test
.assword
.-
), but you can change an account’s name to use a hyphen when you transfer that account to another system.LONGUSERS: 1
environment variable in the /var/cpanel/whm/nvdata/root.yaml
file./etc/allowstupidstuff
touch file./etc/aliases
and /etc/localaliases
files. The system will also reserve usernames that are aliased to a reserved username./usr/local/cpanel/Cpanel/Validate/Username/Core.pm
/etc/aliases
/etc/localaliases
root
abuse, adm, amandabackup, apache, bin, canna, daemon, dbus, decode, desktop, dovecot, dumper, fax, ftp, games, gdm, gopher, halt, hostmaster, ident, ingres, ldap, lp, mail, mailnull, manager, mysql, named, netdump, news, nfsnobody, nobody, noc, nscd, ntp, nut, operator, pcap, postfix, postgres, postmaster, privoxy, pvm, quagga, radiusd, radvd, root, rpc, rpcuser, rpm, security, shutdown, smmsp, squid, sshd, sync, system, toor, uucp, vcsa, webalizer, webmaster, wnn, xfs
postmaster
info, mailer-daemon, marketing, sales, support
news
newsadm, newsadmin, usenet
ftp
ftp-adm, ftp-admin, ftpadm, ftpadmin
webmaster
www
root
user to rename the account:whmapi1 modifyacct user=username newuser=newusername
username
represents the current (restricted) username, and newusername
represents the new username that you wish to assign to the account./etc/aliases
and /etc/localaliases
files.root
user:/usr/local/cpanel/scripts/updateuserdomains --force