This command is very helpful when you think of search for a list of suspended accounts.
How to view the list of suspended accounts?
Command:
cd /var/cpanel/suspended ls
Run the above two commands from the root directory to view the list of suspended accounts.
The first command cd /var/cpanel/suspended will redirect you to the directory where all the suspended accounts listed.
The second command ls will list all the suspended domain names/username
The above command is allowed you to view the list of suspended accounts the cPanel account. As a root or reseller user, you can suspend the users or an individual domain. When you suspend a user or domain the system disable their passwords. This is used if a user fails to comply with the terms of service or they have failed to pay their bills.
Suspended Domains:
The accounts’ list may displaying with the following columns:
- Domains: Displays the suspended domains.
- User: Displays the cPanel account name that owns the domain.
- Owner: Display the reseller name who owns the account.
- Date Suspended: Displays the date and time of the suspended account
- Reason: Display the reason for suspension of account.
To get the suspended account list in the single command. Use the below command.
Command:
ls /var/cpanel/suspended