Difference between revisions of "PMSS:Suspending/Unsuspending user"

From Pulsed Media Wiki
(Created page with "Suspending & Unsuspending an user can be trivial with inbuilt functions (Notice that as of writing this, these are still experimental scripts). This is achieved by disabling pass...")
 
 
(No difference)

Latest revision as of 16:51, 7 November 2011

Suspending & Unsuspending an user can be trivial with inbuilt functions (Notice that as of writing this, these are still experimental scripts). This is achieved by disabling password and changing www folder so that there's no access. Disabling password & login disables FTP, SFTP, SSH access, and renaming www folder disables HTTP access.

To suspend:

cd /scripts
./suspend.php USERNAME

To unsuspend:

cd /scripts
./unsuspend.php USERNAME