Post Reply 
How to make FTP accounts on my vps?
07-02-2012, 03:12 PM
Post: #1
How to make FTP accounts on my vps?
As everybody know that I got my vps from this website, but now I am hosting my sa-mp server from this vps, also I need few more ftp accounts with different user names and different passwords. I need it just cause of my friends who manage few logs in my server's scriptfiles, I really need it, please someone tell me that how to make differ FTP account in vps through which another people / My friends can get access to specified files on vps storage, thank you.

Visit My Blog!: sahilsharmapresents.blogspot.com
Thanks to http://pyramidserver.com/ and https://freevps.us for free vps
Vote Bourne for next administrator!
User Tools
Quote this message in a reply


07-02-2012, 03:40 PM
Post: #2
RE: How to make FTP accounts on my vps?
Maybe, this will help:
http://onaxer.com/blog/blog/2010/12/01/v...in-vsftpd/

Don't worry about the world coming to an end today. It's already tomorrow in Australia.
User Tools
Quote this message in a reply
07-02-2012, 06:52 PM
Post: #3
RE: How to make FTP accounts on my vps?
I use simple "useradd" (then "passwd").
And I disallowed login to SSH for FTP users.

Thanks Carstensz Pyramid Server and FreeVPS very much my VPS18.
User Tools
Quote this message in a reply
07-02-2012, 08:02 PM
Post: #4
RE: How to make FTP accounts on my vps?
If you have Debian 6 on your vps,follow the steps in that website:
http://www.debian-administration.org/articles/228
To add user:
(07-02-2012 06:52 PM)Szilard Wrote:  I use simple "useradd" (then "passwd").
And I disallowed login to SSH for FTP users.
User Tools
Quote this message in a reply
07-03-2012, 07:43 AM
Post: #5
RE: How to make FTP accounts on my vps?
(07-02-2012 06:52 PM)Szilard Wrote:  I use simple "useradd" (then "passwd").
And I disallowed login to SSH for FTP users.

Pretty much this (or use adduser) but add '/bin/false' to /etc/shells and set their shells to /bin/false
User Tools
Quote this message in a reply
07-03-2012, 11:53 AM
Post: #6
RE: How to make FTP accounts on my vps?
Sorry guys i am not proffessional like you, I have centos 06 installed on vps, please tell me in easy manner?

Visit My Blog!: sahilsharmapresents.blogspot.com
Thanks to http://pyramidserver.com/ and https://freevps.us for free vps
Vote Bourne for next administrator!
User Tools
Quote this message in a reply
07-03-2012, 01:06 PM (This post was last modified: 07-03-2012 01:06 PM by DeathProxy.)
Post: #7
RE: How to make FTP accounts on my vps?
Why don't you search it up on Google?
That's what most of us do when we don't know something, and most of the time, it works.
User Tools
Quote this message in a reply
07-04-2012, 12:07 PM
Post: #8
RE: How to make FTP accounts on my vps?
You just add a new user normally and then u edit the config. There might be a special group you need to put the user in tho
User Tools
Quote this message in a reply
07-05-2012, 03:46 AM
Post: #9
RE: How to make FTP accounts on my vps?
is this just for you? why don't you just use your root account?
User Tools
Quote this message in a reply
07-05-2012, 05:05 AM
Post: #10
RE: How to make FTP accounts on my vps?
(07-03-2012 11:53 AM)sahil Wrote:  Sorry guys i am not proffessional like you, I have centos 06 installed on vps, please tell me in easy manner?

useradd -M -s /bin/false -g ftp_users FTP_USERNAME
passwd FTP_USERNAME

Change FTP_USERNAME to the username you wish to add and I assume that ftp_users is the group for the ftp users, change it to whatever group you want them to belong to. FYI, the M flag does not create a home directory. I'm assuming you want a common ftp directory.

If you wish to completely disable ssh access, append the following to your sshd_config (again assuming that ftp_users the group for the ftp users)
DenyGroups ftp_users

Make sure you set the necessary permissions for your ftp. i.e. set the group of your ftp folder to ftp_users.
User Tools
Quote this message in a reply
Post Reply 


Forum Jump:



User(s) browsing this thread:
1 Guest(s)