Could some one tell me how to disable cpanel access from some user? Which file i have to modify via SSH?
Thank you in advance!
Could some one tell me how to disable cpanel access from some user? Which file i have to modify via SSH?
Thank you in advance!
why not just change there password?
...or, if you wish to keep their password the same because they want to use it for mail, FTP, MySQL, or something similar, you could just change their theme to a blank page or a redirect to somewhere else.
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.
When you ask a question, you are asking people to share their knowledge by posting possible solutions.Originally posted by johnnylu
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.![]()
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.
Last edited by dgbaker; 04-09-2004 at 08:35 AM.
Regards,
David
Forum Moderator
Thank you for the modify!
Could someone please help me with my question 'how to disable some specific features in cpanel'
Thank you for your time!![]()
The only option besides feature manager is custom skins. That would give you full control over the whole thing, but also requires you to keep up with changes in backend stuff.