Giter Site home page Giter Site logo

acctinfo's Introduction

The acctinfo script can provide you lots of information for an account on your 
cPanel server.  

This includes any addon domains, sub domains, parked domains, databases, 
SSL Certificates.  It will list the package the account has, whether it has a 
dedicated or is using the servers shared IP address, when the user last logged in, 
whether or not they are a reseller, how long they have been a customer, etc...

It also tells you what IP address the DNS currently resolves to. You can pass it
either a cPanel user name or a domain name.  (Any domain name, even parked or addons).

It can come in very handy when you need to quickly find out information on a
particular account or domain.

You can either download it to your /root/bin folder or you can run it from the 
command line.  I created an alias in my .bashrc file that looks like this.

alias acctinfo="/usr/bin/perl <(curl -s https://raw.githubusercontent.com/cPanelPeter/acctinfo/master/acctinfo)"

So you can call it as follows: 

# acctinfo --listdbs cptestdomain.net

or by username

# acctinfo --listaddons cptestdo

The following options are available: 

--help 
    Lists basic help information

-q
    Clears the screen (default is to not clear the screen)

--listdbs somedomain.net
    Lists any MySQL and PosgGreSQL databases (and their sizes) for somedomain.net

--listsubs cptestdo
    Lists all sub domains under the cptestdo user name.

--listaddons cptestdomain.net
    Lists all addon domains under the cptestdomain.net domain name.

--listparked cptestdomain.net
    Lists all parked domains under the cptestdomain.net domain name.

--listreseller cptestdo
    Lists reseller information and domains under the cptestdo user name.

--listssls cptestdomain.net
    Lists any SSL's under the cptestdomain.net domain name.

--all cptestdomain.net
   Lists all settings for the cptestdomain.net domain name. 

--cruft cptestdo
   Do a cruft check of all files for that user name (or domain name).  

acctinfo's People

Contributors

cpanelpeter avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.