Issue
How to reset all LVE limits for all users on the server to default?
Environment
- Any CloudLinux OS server with LVE limits and users.
Solution
1. Use this one line script:
for a in `lvectl list | grep -v "limit\|default\|ID" | cut -d" " -f4-9`;do lvectl delete $a; done && lvectl apply all
Note: The command will delete LVE and set configuration for that LVE to defaults
Useful links
Comments
0 comments
Please sign in to leave a comment.