• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 495
  • Last Modified:

how to change cpanel&ftp password ?

Hello

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
0
xserverx
Asked:
xserverx
  • 3
  • 2
1 Solution
 
frankkyCommented:
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
0
 
frankkyCommented:
Got confused with the usage myself, the way to use this is to type:

chpasswd <Enter>

then on each lin you type in

username:new_passwordusername2:new_password2

1 user per line

When your done you can use <ctrl> D and your passwords will get changed.
0
 
xserverxAuthor Commented:
is this also for Cpanel or just linux users change passwords ?
0
 
frankkyCommented:
CP accounts also have a linux account (that's how file permissions are handled) so for short...

Yes
0
 
xserverxAuthor Commented:
Thanks
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now