auto-change-login-class(8)

SYNOPSIS

auto-change-login-class username|uid new-login-class

ARGUMENTS
username|uid    Text username or numeric user ID of the user
new-login-class Name of a login class in, e.g., /etc/login.conf

DESCRIPTION
auto-change-login-class modifies the login class os a user on systems that support the login class concept, such as FreeBSD, NetBSD, and OpenBSD. Some non-BSD platforms may not have a concept of login classes.

RETURN VALUES
0 on success, non-zero error codes on failure

EXAMPLES
auto-set-login-class joe staff
auto-set-login-class erin default

FILES
/etc/login.conf

SEE ALSO
login.conf(5), pw(8), usermod(8)