Allow real user into FTP account - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: Allow real user into FTP account (/thread-15029.html) |
Allow real user into FTP account - Monotoko - 09-07-2011 07:52 AM Hi Guys, I use my server for multiple things and would like to back my iPhone up via FTP onto the server. In order to that the application is asking for some FTP details. I went ahead and created my user via SSH using useradd and passwd, but was surprised to meet this when I tried to login through Filezilla: Command: USER ibackup Response: 331 Password required for ibackup Command: PASS ***** Response: 530 Login incorrect. Checked the username and the password, could it possibly be because I am trying to login as a real user of the system, as oppose to a virtual one ispcp created? (proftpd is managed by ispcp still) I have Googled for hours trying to find an answer but there seems to be nothing on letting a real user into the FTP system Daniel RE: Allow real user into FTP account - joximu - 09-07-2011 07:27 PM IMHO ftp users are defined in the DB have a look at ispcp.ftp_users and ...ftp_groups You *can* add "system" users there (but of course they need to be created first via useradd...). Be careful /J RE: Allow real user into FTP account - Monotoko - 09-08-2011 12:17 AM Worked perfectly! Thank you Edit: Not quite actually, it allows me to login but only gives me read-only access, even though the folders are owned by the user+group of the ibackup user. What user am I logging in as when doing this?! RE: Allow real user into FTP account - JCircle - 09-08-2011 04:34 AM at a loss why you wouldnt just create a ftp user in your webspace? give that user access to a folder like /iphone and then back up that way. why a system level user? RE: Allow real user into FTP account - Monotoko - 09-08-2011 10:04 AM /var is on a different partition to /home, I need these backups to go into /home/ibackups which I don't seem to be able to do with an ispcp virtual user. RE: Allow real user into FTP account - joximu - 09-08-2011 11:12 AM Where's the problem? Set the right values in ftp_users and ftp_group an example in passwd: mylogin:1234:1234 (uid and gid) in /etc/groups: mygroup:1234 ftp_users: userid passwd uid gid shell homedir mylogin passwd-hash 1234 1234 /bin/bash /home/mylogin/somwhere ftp_group: groupname gid members mygroup 1234 mylogin /J RE: Allow real user into FTP account - Aubrey - 10-26-2011 04:19 PM This is just a good explanation. Whether right and registration and unregistered users is a kind of transparent system. Now you can build your own FTP server has. |