Hello,
Im interested in modifying the suspendacct script, to be able to suspend an account completely, but to grant access in the same time to cPanel, so the client can resolve the issues with his Site/account.
I commented out the line #system( 'passwd', '-l', $user ); so it doesnt puts !! in /etc/shadow next to the account pass but still wasn't able to log in and the account doesn't shows as suspended in WHM(it appears after i insert manually the !! before pass)
Im interested in modifying the suspendacct script, to be able to suspend an account completely, but to grant access in the same time to cPanel, so the client can resolve the issues with his Site/account.
I commented out the line #system( 'passwd', '-l', $user ); so it doesnt puts !! in /etc/shadow next to the account pass but still wasn't able to log in and the account doesn't shows as suspended in WHM(it appears after i insert manually the !! before pass)