Domain Discussion Board

Go Back   Domain Discussion Board > General > Tutorials

 
Reply
 
LinkBack Thread Tools Display Modes
Some Basic Usable Cpanel Commands
Old
  (#1 (permalink))
weblord
weblord has a reputation beyond reputeweblord has a reputation beyond reputeweblord has a reputation beyond reputeweblord has a reputation beyond reputeweblord has a reputation beyond reputeweblord has a reputation beyond reputeweblord has a reputation beyond reputeweblord has a reputation beyond reputeweblord has a reputation beyond reputeweblord has a reputation beyond reputeweblord has a reputation beyond repute
 
weblord's Avatar
 
Status: Offline
Posts: 16,670
Points: 3,081.5
Bank: 1,851,990.5
Total Points: 1,855,072.0
Donate
Join Date: Mar 2006
Location: Philippines
Rep Power: 10
Some Basic Usable Cpanel Commands - 09-11-2006, 02:53 AM

all cpanel commands at least needs you to be logged in as root on ssh

Cpanel's /scripts options with details:

/scripts/adddns Add a Dns Entry
/scripts/addfpmail Install Frontpage Mail Exts
/scripts/addservlets Add JavaServlets to an account (jsp plugin required)
/scripts/adduser Add a User
/scripts/admin Run WHM Lite
/scripts/apachelimits Add Rlimits (cpu and mem limits) to apache.
/scripts/dnstransfer Resync with a master DNS Server
/scripts/editquota Edit A User's Quota
/scripts/finddev Search For Trojans in /dev
/scripts/findtrojans Locate Trojan Horses
Suggest Usage
/scripts/findtrojans > /var/log/trojans
/scripts/fixtrojans /var/log/trojans
/scripts/fixcartwithsuexec Make Interchange work with suexec
/scripts/fixinterchange Fix Most Problems with Interchange
/scripts/fixtrojans Run on a trojans horse file created by findtrojans to remove them
/scripts/fixwebalizer Run this if a user's stats stop working
/scripts/fixvaliases Fix a broken valias file
/scripts/hdparamify Turn on DMA and 32bit IDE hard drive access (once per boot)
/scripts/initquotas Re-scan quotas. Usually fixes Disk space display problems
/scripts/initsuexec Turn on SUEXEC (probably a bad idea)
/scripts/installzendopt Fetch + Install Zend Optimizer
/scripts/ipusage Display Ipusage Report
/scripts/killacct Terminate an Account
/scripts/killbadrpms Delete "Security Problem Infested RPMS"
/scripts/mailperm Fix Various Mail Permission Problems
/scripts/mailtroubleshoot Attempt to Troubleshoot a Mail Problem
/scripts/mysqlpasswd Change a Mysql Password
/scripts/quicksecure Kill Potential Security Problem Services
/scripts/rebuildippool Rebuild Ip Address Pool
/scripts/remdefssl Delete Nasty SSL entry in apache default httpd.conf
/scripts/restartsrv Restart a Service (valid services: httpd,proftpd,exim,sshd,cppop,bind,mysql)
/scripts/rpmup Syncup Security Updates from RedHat/Mandrake
/scripts/runlogsnow Force a webalizer/analog update.
/scripts/secureit Remove non-important suid binaries
/scripts/setupfp4 Install Frontpage 4+ on an account.
/scripts/simpleps Return a Simple process list. Useful for finding where cgi scripts are running from.
/scripts/suspendacct Suspend an account
/scripts/sysup Syncup Cpanel RPM Updates
/scripts/ulimitnamed RH 6 only. Install a version of bind to handle many many zones.
/scripts/unblockip Unblock an IP
/scripts/unsuspendacct UnSuspend an account
/scripts/upcp Update Cpanel
/scripts/updatenow Update /scripts
/scripts/wwwacct Create a New Account
   








Reply With Quote
Re: Some Basic Usable Cpanel Commands
Old
  (#2 (permalink))
holypanl
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Re: Some Basic Usable Cpanel Commands - 09-24-2006, 02:19 PM

Ahhhh. Thank you. I appreciate this a whole lot.
   
Reply With Quote
Sponsored Links
Re: Some Basic Usable Cpanel Commands
Old
  (#3 (permalink))
windrider
windrider will become famous soon enough
 
windrider's Avatar
 
Status: Offline
Posts: 1,269
Points: 607.7
Bank: 7,727.0
Total Points: 8,334.7
Donate
Join Date: Jun 2006
Location: Chennai, India
Rep Power: 4
Re: Some Basic Usable Cpanel Commands - 09-27-2006, 08:29 AM

Hey weblord, my host doesn't give me ssh access.

Are there alternatives for all these commands?
   
Reply With Quote
Re: Some Basic Usable Cpanel Commands
Old
  (#4 (permalink))
euler
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Re: Some Basic Usable Cpanel Commands - 09-27-2006, 08:39 AM

As a matter of fact, do any hosts offer SSH access?
   
Reply With Quote
Re: Some Basic Usable Cpanel Commands
Old
  (#5 (permalink))
windrider
windrider will become famous soon enough
 
windrider's Avatar
 
Status: Offline
Posts: 1,269
Points: 607.7
Bank: 7,727.0
Total Points: 8,334.7
Donate
Join Date: Jun 2006
Location: Chennai, India
Rep Power: 4
Re: Some Basic Usable Cpanel Commands - 09-28-2006, 06:14 AM

I think almost all of them disable SSH access stating security reasons. But what could go wrong? Shouldn't the server have enough protection anyway?
   
Reply With Quote
Re: Some Basic Usable Cpanel Commands
Old
  (#6 (permalink))
kiwiisgood
Banned
kiwiisgood is infamous around these partskiwiisgood is infamous around these partskiwiisgood is infamous around these partskiwiisgood is infamous around these partskiwiisgood is infamous around these partskiwiisgood is infamous around these partskiwiisgood is infamous around these partskiwiisgood is infamous around these partskiwiisgood is infamous around these partskiwiisgood is infamous around these partskiwiisgood is infamous around these parts
 
Status: Offline
Posts: 0
Points: 0.0
Bank: 0.0
Total Points: 0
Donate
Join Date: Mar 2007
Rep Power: 0
Re: Some Basic Usable Cpanel Commands - 04-03-2007, 10:46 PM

Msr. Weblord , this is a very good tutorial. Thank you.
   
Reply With Quote
Re: Some Basic Usable Cpanel Commands
Old
  (#7 (permalink))
nioton
nioton will become famous soon enough
 
nioton's Avatar
 
Status: Offline
Posts: 2,186
Points: 133.0
Bank: 4,531.6
Total Points: 4,664.7
Donate
Join Date: Oct 2006
Location: P.H.P.T.O.N
Rep Power: 5
Re: Some Basic Usable Cpanel Commands - 04-04-2007, 04:51 AM

nice codes here
thanks


CODE IS POETRY
» Free Link Directory () : Submit your links now
» PHPTON : Open Source CMS
! Welcome to DDBoard !

Free Scripts
Programming Team » Join

.ooo0 ........
....[.....].....0ooo.
.....\...[......[.....]
......\_].......].../
................[_/



..... DDBoard Moderator .....
Read Rules | Warning Points | Prices Of Domains In DDpoints | Earning DDpoints | Private Messages To Staff
Protect Yourself From Scammers
   
Reply With Quote
Re: Some Basic Usable Cpanel Commands
Old
  (#8 (permalink))
mas
Banned
mas is infamous around these partsmas is infamous around these parts
 
Status: Offline
Posts: 229
Points: 0.0
Bank: 0.0
Total Points: 0.1
Donate
Join Date: Dec 2006
Rep Power: 0
Re: Some Basic Usable Cpanel Commands - 04-04-2007, 05:37 AM

How We Could use SSH access , if hosting support it?
   
Reply With Quote
Re: Some Basic Usable Cpanel Commands
Old
  (#9 (permalink))
dodo79
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Re: Some Basic Usable Cpanel Commands - 05-10-2007, 03:33 AM

[SIZE=2]nice information ...........[/SIZE]
[SIZE=2]thank you..........[/SIZE]
   
Reply With Quote
Re: Some Basic Usable Cpanel Commands
Old
  (#10 (permalink))
kevinpaquet
Platinum Member
kevinpaquet is on a distinguished road
 
Status: Offline
Posts: 2,033
Points: 513.7
Bank: 822.6
Total Points: 1,336.3
Donate
Join Date: May 2007
Location: Davao City, Philippines
Rep Power: 4
Re: Some Basic Usable Cpanel Commands - 05-13-2007, 01:12 PM

That's a cool code, like most of all here
   
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

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

Points Per Thread View: 1.0
Points Per Thread: 15.0
Points Per Reply: 5.0


Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginners Guide to Linux + Easy Installation Guide, Abhimathur Tutorials 10 07-30-2007 11:43 PM
cPanel o DirectAdmin? mtorregiani Tecnologia Web General 19 11-03-2006 12:48 AM
Excellent free cpanel hosting ~andrew~ Member Advertising 6 05-11-2006 10:52 AM


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 ©2007, Crawlability, Inc.