This command defines a class of users by the address to which the user is connected.
class <class> <typelist> <addrglob> [<addrglob>]
There might be multiple members for a class of users, and multiple classes might apply to individual members. When multiple classes apply to one user, the first class that applies will be used.
The typelist field is a comma-separated list of the keywords anonymous , guest , and real . anonymous applies to the anonymous user, and guest applies to the guest access account, as specified in the guestgroup directive. real defines those users who have a valid entry in the /etc/passwd file.
The addrglob field is a regular expression that specifies addresses to which the class is to be applied. The (* ) entry specifies all hosts.
Was this article helpful?