#1 (permalink)  
Old 04-07-2004, 12:58 AM
Registered User
 
Join Date: Mar 2004
Posts: 13
johnnylu
How do i disbale CPANEL for specific users?

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-07-2004, 08:48 PM
Registered User
 
Join Date: Mar 2003
Posts: 345
icanectc
why not just change there password?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-07-2004, 08:58 PM
Registered User
 
Join Date: Dec 2002
Posts: 18
SJJM
...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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-08-2004, 10:50 PM
Registered User
 
Join Date: Mar 2004
Posts: 13
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.

One more question is that how do i disable some specific features in cpanel without using features manager (in whm).

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-09-2004, 01:12 AM
Registered User
 
Join Date: Mar 2002
Location: Alberta, Canada
Posts: 1,507
Website Rob
Quote:
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.
When you ask a question, you are asking people to share their knowledge by posting possible solutions.

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/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-09-2004, 01:30 AM
Registered User
 
Join Date: Mar 2004
Posts: 13
johnnylu
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 04-09-2004, 08:32 AM
dgbaker's Avatar
Moderator
Advanced cPanel/WHM User
 
Join Date: Sep 2002
Location: Toronto, Ontario Canada
Posts: 2,768
dgbaker is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 04-09-2004, 12:38 PM
Registered User
 
Join Date: Mar 2004
Posts: 13
johnnylu
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 04-09-2004, 01:22 PM
PWSowner's Avatar
Registered User
 
Join Date: Nov 2001
Location: ON, Canada
Posts: 2,991
PWSowner is on a distinguished road
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.
__________________
Mike
WHM and cPanel Scripts (join our "Scripts Club")
D/A Photography
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:24 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc