Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion RHEL/CentOS
  • Search

Admin locked out of FTP after new user FTP created

RHEL/CentOS related topics
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
JonesyM8
Posts: 3
Joined: Sat Jun 15, 2019 5:39 pm

Os: CentOS 6x
Web: apache
Admin locked out of FTP after new user FTP created
  • Quote

Post by JonesyM8 » Sun Jun 16, 2019 4:29 pm

I created a new user in the Admin of Centos 07 so that I could get access to the configuration files via SFTP.

But now I am unable to gain access to my normal website files via normal FTP.

What hava I done wrong ?
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Admin locked out of FTP after new user FTP created
  • Quote

Post by skamasle » Tue Jun 18, 2019 1:10 pm

You lost access to FTP in all users ?

Paste here /etc/shells

And extract of /etc/passwd ( users who cant access )
Top

JonesyM8
Posts: 3
Joined: Sat Jun 15, 2019 5:39 pm

Os: CentOS 6x
Web: apache
Re: Admin locked out of FTP after new user FTP created
  • Quote

Post by JonesyM8 » Thu Jun 20, 2019 2:32 am

Thanks for the feedback 'skamasle' but I got onto my webhost to reset my usernames and passwords.
Now I have FTP on one name and password, and SFTP on another.

I am very new to this situation of VPS / Centos / Vesta.

No doubt I will be posting here again soon.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Admin locked out of FTP after new user FTP created
  • Quote

Post by skamasle » Thu Jun 20, 2019 11:46 am

FTP and SFTP are 2 diferent things

FTP is one daemon and SFTP is SSH over FTP

You need take care about some thing and is than only system users can access to SSH / SFTP if have bash / sh or orther shell enable

So, if you have vesta user ( like admin, othervestauser etc ) they can access to SFTP

But if you inside admin, create new FTP user, this user will access only to FTP, this secondary user inside admin not have SSH access.

Is diferent, create vesta user and aditional FTP account, aditional FTP account is just that, this account cant access to SSH / SFTP

I think thats your problem
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “RHEL/CentOS”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password