Hi, I'm currently fiddling with G4U (Ghost for Unix), and I need to setup a local FTP server in order to get it to work. # yum groupinstall "FTP Server" --> installed vsftpd Here's what I'd like to do : * no anonymous access * only one user (user 'install' / pass 'install') The machine I'm installing it on has a static IP ok (192.168.1.252/255.255.255.0). I tried to fiddle with the various configuration options in vsftpd.conf, but to no avail. Googled quite some, but the information I found doesn't seem reliable, more like contradictory. One detail: this isn't a publicly accessible machine, e. g. it's not out there on the wild internet, only on the LAN, so there's no special security considerations. Any suggestions ? Niki Kovacs
On Sun, Jun 7, 2009 at 3:21 PM, Niki Kovacs <contact at kikinovak.net> wrote:> Hi, > > I'm currently fiddling with G4U (Ghost for Unix), and I need to setup a > local FTP server in order to get it to work. > > # yum groupinstall "FTP Server" --> installed vsftpd > > Here's what I'd like to do : > > * no anonymous access > * only one user (user 'install' / pass 'install') > > The machine I'm installing it on has a static IP ok > (192.168.1.252/255.255.255.0). > > I tried to fiddle with the various configuration options in vsftpd.conf, > but to no avail. Googled quite some, but the information I found doesn't > seem reliable, more like contradictory. > > One detail: this isn't a publicly accessible machine, e. g. it's not out > there on the wild internet, only on the LAN, so there's no special > security considerations. > > Any suggestions ? > > Niki Kovacs > > _______________________________________________ >Niki, if the machine isn't on the internet, then you don't really need to worry about the security :) But, to answer the question, do this: in the /etc/vsftpd.conf, change anonymous_enable to NO Taken from man vsftpd.conf: anonymous_enable Controls whether anonymous logins are permitted or not. If enabled, both the usernames ftp and anonymous are recognised as anonymous logins. Default: YES I'm not sure if you can only allow a single user to access it though -- Kind Regards Rudi Ahlers CEO, SoftDux Hosting Web: http://www.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090607/f3b415b3/attachment-0001.html>
Edit /etc/vsftpd/vsftpd.conf 2009/6/7 Niki Kovacs <contact at kikinovak.net>:> Hi, > > I'm currently fiddling with G4U (Ghost for Unix), and I need to setup a > local FTP server in order to get it to work. > > # yum groupinstall "FTP Server" --> installed vsftpd > > Here's what I'd like to do : > > * no anonymous accessanonymous_enable=NO> * only one user (user 'install' / pass 'install')Add user "install" to the machine (useradd install) Change password to "install" user (passwd install) local_enable=YES write_enable=YES> > The machine I'm installing it on has a static IP ok > (192.168.1.252/255.255.255.0). > > I tried to fiddle with the various configuration options in vsftpd.conf, > but to no avail. Googled quite some, but the information I found doesn't > seem reliable, more like contradictory. > > One detail: this isn't a publicly accessible machine, e. g. it's not out > there on the wild internet, only on the LAN, so there's no special > security considerations. > > Any suggestions ?man vsftpd.conf Cheers -- Giuseppe
On Sun, Jun 7, 2009 at 09:21, Niki Kovacs<contact at kikinovak.net> wrote:> * only one user (user 'install' / pass 'install')userlist_enable = YES userlist_deny = NO userlist_file = /etc/vsftpd.user_list And then: # echo install >/etc/vsftpd.user_list That way only "install" will be able to log in to the FTP server. HTH, Filipe