This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

FTP 530 Login incorrect OpenSuse
#5
RE: 530 Login incorrect
(04-25-2016, 06:28 AM)Me.B Wrote: users for ftp should only exist in sentora_proftpd and are not real system users.

M B


I have just manually added an FTP user using the SQL code in "sentora-core\modules\ftp_management\code\proftpd-mysql.php"

The code is as follows:

Code:
INSERT INTO ftpuser (id, userid, passwd, homedir, shell, count, accessed, modified) VALUES ('', :username, :password, :homedir, '/sbin/nologin', 0, '', '');


I used the following values:


id = '', userid = 'coolcybot_coolcybot', passwd = 'mypassword', homedir = '/public_html/coolcybot_servehttp_com', shell = '/sbin/nologin', count = 0, accessed = '0', modified = '0'

So the user account now exists in the database but I still cannot login.

Have I specified the wrong shell, is that why it doesn't work?

The uid and gid values in the database match the user and group id of my apache user which I think makes sense as this is the user and group of my public_html folder - /var/sentora/hostdata/coolcybot/public_html/coolcybot_servehttp_com.
Reply
Thanks given by:


Messages In This Thread
FTP 530 Login incorrect OpenSuse - by eddiegi686 - 04-24-2016, 10:51 PM
RE: FTP 530 Login incorrect OpenSuse - by Me.B - 04-26-2016, 04:11 PM
RE: 530 Login incorrect - by Me.B - 04-25-2016, 02:45 AM
RE: 530 Login incorrect - by eddiegi686 - 04-25-2016, 05:34 AM
RE: 530 Login incorrect - by Me.B - 04-25-2016, 06:28 AM
RE: 530 Login incorrect - by eddiegi686 - 04-25-2016, 09:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Login fails FTP Account davidlambda 5 25 ,593 04-18-2020, 10:36 AM
Last Post: Jettaman
530 Login incorrect venuscreats 16 47 ,314 12-16-2016, 12:19 PM
Last Post: totalgenius

Forum Jump:


Users browsing this thread: 1 Guest(s)