how to change cpanel&ftp password ?

Posted on 2009-12-29
Last Modified: 2013-12-16

I have most of my users on my server had easy passwords sow every one can find the password easly
how to change all users cpanel&ftp  passwords for all users from ssh ?

thank you
Question by:xserverx
    LVL 7

    Accepted Solution

    Well it can depend on which unix/linux flavor you're using, personally I use chpasswd

    login to your box and type sudo to switch to superuser (aka root) if not already logged in as root

    then type

    chpasswd username:password

    for a more precise usage of the command I'd recommend you check the man page first on your box to see the specifics and flags that can be used on your box using:

    man chpasswd
    LVL 7

    Expert Comment

    Got confused with the usage myself, the way to use this is to type:

    chpasswd <Enter>

    then on each lin you type in


    1 user per line

    When your done you can use <ctrl> D and your passwords will get changed.

    Author Comment

    is this also for Cpanel or just linux users change passwords ?
    LVL 7

    Expert Comment

    CP accounts also have a linux account (that's how file permissions are handled) so for short...


    Author Closing Comment


    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Some time ago I was asked to set up a web portal PC to put at our entrance. When customers arrive, they could see a webpage 'promoting' our company. So I tried to set up a windows 7 PC as a kiosk PC.......... I will spare you all the annoyances I…
    If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now