Nk_list_all_users
Table of Contents
Description
Get a list of all Cpanel users on a system.
Example
[root@cloudvpsserver ~]# nk_list_all_users nkern
Code
nk_list_all_users() { awk '{print $2}' /etc/userdomains | grep -Ev "^nobody$" | sort | uniq }