|
|||
|
If i change their password they will receive a new password via the forget password page. However, i found the way to restrict their cpanel access and ftp access by SSH.
![]() One more question is that how do i disable some specific features in cpanel without using features manager (in whm). Thanks. |
|
|||
|
Quote:
If you post a question and find a solution on your own, it would be a common courtesy to share your answer/knowledge as well -- would it not?
__________________
Helping people Host, Create, and Maintain their Web Site Also providing Server Admin Services - setup / troubleshooting http://potentproducts.com/ |
|
|||
|
It is very simple but it took me alot of time to find out.
You just need to go to /etc then type passwd -l username Note: remember to synchronize FTP password in whm then the ftp and cpanel access will be restricted but the web site still show up fine. Thanks. |
|
||||
|
Just so everyone understands that command...
-l This option is used to lock the specified account and it is available to root only. The locking is performed by rendering the encrypted password into an invalid string (by prefixing the encrypted string with an !). If you need to reverse it...... -u This is the reverse of the -l option - it will unlock the account password by removing the ! prefix. This option is available to root only. By default passwd will refuse to create a passwordless account (it will not unlock an account that has only "!" as a password). The force option -f will override this protection. This is from the manpages of passwd. Or doing a normal passwd reset re-enables the account as well. I have not tested but cpanel reset password via lost passwd would probably re-enable the account.
__________________
Regards, David Forum Moderator Alternate Support? http://www.cpanelhosts.com Looking for a server? http://www.myvirtualhosting.com Get Dedicated in Toronto at MVH. We are a licensed cPanel PartnerNoc Last edited by dgbaker; 04-09-2004 at 08:35 AM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|