Hoy en el trabajo necesitamos crear un usuario ftp para un desarrollador que necesita trabajar en un directorio de apache. La mejor opción es usar un servidor FTP. También planteamos usar GIT pero eso lo dejaremos para otro post.

Instalamos VSFTP

> yum install vsftp –y

editamos el archivo vsftpd.conf

nano /etc/vsftpd/vsftpd.conf

modificamos las siguientes lineas:

anonymous_enable=NO
local_enable=YES
write_enable=YES
anon_upload_enable=NO
anon_mkdir_write_enable=NO
ftpd_banner=Bienvenido al servidor FTP

Guardamos y salimos. Ahora configuramos a vsftpd para que inicie automaticamente con el sistema:

> chkconfig vsftpd on

Lo iniciamos:

> service vsftpd start

Configuramos las nuevas reglas en iptables:

> nano /etc/sysconfig/iptables

agregamos las reglas:

-A INPUT -m state –state NEW -m tcp -p tcp –dport 20 -j ACCEPT
-A INPUT -m state –state NEW -m tcp -p tcp –dport 21 -j ACCEPT
-A INPUT -m state –state NEW -m tcp -p tcp –dport 30300:30309 -j ACCEPT

salimos, guardamos y reiniciamos:

> service iptables restart

configuramos iptables-config:

> nano /etc/sysconfig/iptables-config:

buscamos la linea siguiente y agregamos lo que esta entre comillas:


IPTABLES_MODULES=nf_conntrack_ftp nf_nat_ftp

Editamos el shell:

> nano /etc/shells

y agregamos en la ultima linea: /bin/false

# /etc/shells: valid login shells
/bin/sh
/bin/bash
/bin/false

en algunos casos hay que abrir los puertos 20 y 21 del router. creamos nuestro usuario ftp con la carpeta a la que tendrá acceso:

> useradd tony -d /var/www/html/proyecto/ -s /bin/false

agregamos la clave al usuario nuevo:

> passwd tony

reiniciamos

> service vsftpd restart

listo!!! ya podemos conectarnos con nuestro usuario por ftpzilla.

Comentarios

1. El Jueves, Octubre 4 2018, 13:02 por minecraft

My family always say that I am killing my time here at net, however I know I am getting knowledge daily by reading such fastidious articles.

2. El Viernes, Octubre 5 2018, 00:24 por minecraft

Great site you've got here.. It's hard to find good quality writing like
yours these days. I seriously appreciate individuals like you!
Take care!!

3. El Viernes, Octubre 5 2018, 13:42 por minecraft

wonderful points altogether, you simply received a new reader.
What would you suggest about your post that you made some days in the past?
Any positive?

4. El Viernes, Octubre 5 2018, 22:28 por minecraft

Wow! In the end I got a blog from where I be able to in fact take valuable facts concerning my study and knowledge.

5. El Sábado, Octubre 6 2018, 13:09 por minecraft

I got this web site from my buddy who shared with me regarding
this web page and at the moment this time I am browsing this web page and reading very informative articles here.

6. El Domingo, Octubre 7 2018, 02:28 por minecraft

I have read so many articles about the blogger lovers but this piece of writing is in fact
a fastidious paragraph, keep it up.

7. El Domingo, Octubre 7 2018, 17:44 por minecraft

Thanks for sharing your info. I truly appreciate your efforts and I will be waiting for
your next post thanks once again.

8. El Domingo, Octubre 7 2018, 22:53 por minecraft

I every time emailed this web site post page to all my associates, because if like to
read it then my links will too.

9. El Lunes, Octubre 8 2018, 10:52 por minecraft free download 2018

Does your site have a contact page? I'm having a tough time locating
it but, I'd like to shoot you an email. I've got some suggestions for your
blog you might be interested in hearing.
Either way, great blog and I look forward to seeing it grow over time.

10. El Lunes, Octubre 8 2018, 12:00 por minecraft free download 2018

I have been exploring for a little bit for any high quality articles or blog posts
on this sort of area . Exploring in Yahoo I at last stumbled upon this
site. Reading this info So i am satisfied to express that
I have a very good uncanny feeling I discovered exactly what I needed.
I so much indubitably will make certain to don?t disregard this website and provides it a glance on a continuing basis.

11. El Lunes, Octubre 8 2018, 21:32 por minecraft free download 2018

hi!,I really like your writing very a lot!
percentage we communicate extra about your article on AOL?
I require a specialist on this space to solve my problem.
May be that is you! Having a look ahead to see you.

12. El Martes, Octubre 9 2018, 17:43 por minecraft free download 2018

I was wondering if you ever considered changing the page layout of your website?

Its very well written; I love what youve got to say.
But maybe you could a little more in the way of content so
people could connect with it better. Youve got an awful lot of
text for only having 1 or 2 pictures. Maybe you could space it out better?

13. El Martes, Octubre 9 2018, 21:29 por minecraft free download 2018

WOW just what I was looking for. Came here by searching for minecraft free download 2018

14. El Martes, Octubre 9 2018, 23:43 por minecraft free download 2018

It's going to be finish of mine day, but before ending I am reading this
fantastic piece of writing to improve my knowledge.

15. El Miércoles, Octubre 10 2018, 01:23 por minecraft free download 2018

Simply want to say your article is as astounding. The
clarity in your post is just great and i could assume you are
an expert on this subject. Well with your permission allow me to
grab your feed to keep up to date with forthcoming post.
Thanks a million and please continue the rewarding work.

16. El Miércoles, Octubre 10 2018, 06:15 por minecraft free download 2018

What's up mates, its wonderful article about tutoringand entirely explained, keep it
up all the time.

17. El Jueves, Octubre 11 2018, 06:11 por minecraft free download 2018

I think this is one of the most important info for
me. And i'm glad reading your article. But want to remark on some general things, The web site style is ideal,
the articles is really nice : D. Good job, cheers

18. El Jueves, Octubre 11 2018, 09:38 por minecraft free download 2018

Greetings! Very useful advice in this particular post!

It is the little changes that make the most important changes.
Thanks for sharing!

19. El Martes, Octubre 16 2018, 11:04 por tinder dating site

I was wondering if you ever considered changing the structure of your website?

Its very well written; I love what youve got to
say. But maybe you could a little more in the way of
content so people could connect with it better. Youve got an awful lot of text for only having 1
or two images. Maybe you could space it out better?

20. El Martes, Octubre 16 2018, 13:53 por tinder dating site

Hi i am kavin, its my first time to commenting anywhere, when i read
this paragraph i thought i could also create comment due to this good post.

21. El Jueves, Octubre 18 2018, 08:34 por minecraft secret free download

you are really a good webmaster. The web site loading pace
is amazing. It sort of feels that you're doing
any distinctive trick. Moreover, The contents are masterwork.
you've performed a great task on this subject!

22. El Jueves, Octubre 18 2018, 18:04 por minecraft secret free download

I have learn several excellent stuff here.
Definitely value bookmarking for revisiting. I wonder how a
lot effort you put to make this kind of fantastic informative website.

23. El Viernes, Octubre 19 2018, 07:33 por Health Benefits of Coconut Oil

Unquestionably believe that which you stated. Your favorite justification seemed to be on the
internet the easiest thing to be aware of. I say to you, I certainly get irked while people
think about worries that they just do not
know about. You managed to hit the nail upon the top and also
defined out the whole thing without having side-effects , people could take a signal.
Will probably be back to get more. Thanks

24. El Viernes, Octubre 19 2018, 07:47 por Coconut Oil Benefits

Hi there! Quick question that's entirely off topic.

Do you know how to make your site mobile friendly?
My website looks weird when browsing from my apple iphone.
I'm trying to find a theme or plugin that might be able to correct this
problem. If you have any recommendations, please share.

Many thanks!

25. El Viernes, Octubre 19 2018, 16:12 por Coconut Oil

I visited many web pages but the audio feature for audio songs present at this
web page is truly superb.

26. El Domingo, Octubre 21 2018, 12:31 por Health Benefits of Coconut Oil

If you are going for finest contents like I do, only
pay a visit this web site all the time since it offers feature
contents, thanks

27. El Domingo, Octubre 21 2018, 15:42 por Benefits of Coconut Oil

First of all I want to say awesome blog!
I had a quick question in which I'd like to ask if you don't mind.
I was interested to know how you center yourself
and clear your head prior to writing. I have had
a tough time clearing my thoughts in getting my thoughts out there.
I truly do enjoy writing however it just seems like the first 10
to 15 minutes tend to be wasted simply just trying to figure out how to begin.
Any recommendations or hints? Appreciate it!

28. El Martes, Octubre 23 2018, 00:34 por Coconut Oil Benefits

Nice blog right here! Additionally your site quite a bit up fast!
What host are you using? Can I get your associate hyperlink to
your host? I wish my web site loaded up as quickly as yours lol

29. El Martes, Octubre 23 2018, 08:28 por Coconut Oil

I couldn't refrain from commenting. Very well written!

30. El Miércoles, Octubre 24 2018, 15:29 por Benefits of Coconut Oil

You need to be a part of a contest for one of the greatest sites on the internet.
I'm going to highly recommend this blog!

31. El Miércoles, Octubre 24 2018, 19:05 por Coconut Oil Benefits

I've been exploring for a little for any high quality
articles or blog posts on this kind of house . Exploring in Yahoo I
eventually stumbled upon this website. Studying this information So i'm glad to
exhibit that I've an incredibly just right uncanny feeling I came upon exactly what I needed.
I most surely will make sure to don?t overlook this web
site and give it a glance on a continuing basis.

32. El Jueves, Octubre 25 2018, 11:36 por Health Benefits of Coconut Oil

I like the valuable information you provide for
your articles. I'll bookmark your weblog and test once more right here regularly.

I am slightly certain I'll learn many new stuff proper right here!
Good luck for the next!

33. El Jueves, Octubre 25 2018, 13:25 por Coconut Oil Benefits

I've been surfing on-line greater than three hours as of late,
yet I by no means found any fascinating article like yours.
It's beautiful worth sufficient for me. Personally, if all
site owners and bloggers made good content material
as you did, the web will be a lot more helpful than ever before.

34. El Viernes, Noviembre 2 2018, 16:53 por descargar facebook

It's truly a great and useful piece of info. I am happy that you shared this helpful information with
us. Please keep us informed like this. Thank you for sharing.

35. El Viernes, Noviembre 2 2018, 20:06 por descargar facebook

What's up to every one, it's in fact a nice for me to go to see this website, it consists
of useful Information.

36. El Sábado, Noviembre 3 2018, 12:24 por quest bars cheap

Thanks for finally talking about >Cuentas FTP en CentOS 6.5 con VSFTP
- Creativa Pixel Blog <Liked it!

37. El Sábado, Noviembre 3 2018, 13:14 por quest bars cheap

May I simply just say what a relief to discover someone that
genuinely understands what they are talking about over the internet.
You actually understand how to bring a problem to light and make it important.
A lot more people need to read this and understand this side of your story.
I was surprised you are not more popular because you
definitely possess the gift.

38. El Domingo, Noviembre 4 2018, 10:41 por quest bars cheap

hey there and thank you for your information – I have definitely picked up something new from right here.
I did however expertise some technical points using
this web site, since I experienced to reload the site many times previous to I could get it to load
properly. I had been wondering if your web hosting is OK? Not that
I am complaining, but slow loading instances times will sometimes
affect your placement in google and could damage your high-quality score if advertising and marketing with Adwords.
Anyway I am adding this RSS to my email and can look out for much more of your
respective exciting content. Ensure that you
update this again very soon.

39. El Domingo, Noviembre 4 2018, 10:47 por quest bars cheap

Pretty nice post. I just stumbled upon your blog
and wished to say that I've really enjoyed surfing
around your blog posts. In any case I'll be subscribing to your
rss feed and I hope you write again soon!

40. El Domingo, Noviembre 4 2018, 12:58 por descargar facebook

Descargar facebook http://twitter.com/descargar_hq descargar facebook
Definitely consider that which you said. Your favourite reason seemed to be at the
net the simplest thing to be mindful of. I say to you, I
definitely get irked while folks consider issues that they just
don't understand about. You controlled to hit the nail upon the highest and
defined out the whole thing without having side-effects ,
people can take a signal. Will probably be again to get
more. Thanks descargar facebook http://twitter.com/descargar_hq descargar facebook

41. El Domingo, Noviembre 4 2018, 23:11 por quest bars cheap

Quest bars cheap fitnesstipsnew1 quest bars cheap 516999410492780544 quest bars cheap
Greetings! I know this is kinda off topic but I was wondering
which blog platform are you using for this website? I'm getting sick
and tired of Wordpress because I've had problems with
hackers and I'm looking at alternatives for another platform.
I would be great if you could point me in the direction of a good
platform. Quest bars cheap fitnesstipsnew1 quest bars cheap 516999410492780544 quest bars cheap

42. El Lunes, Noviembre 5 2018, 04:04 por quest bars

Hey very interesting blog!

43. El Martes, Noviembre 6 2018, 10:20 por Quest Protein Bars

Hi are using Wordpress for your site platform? I'm new to the blog world but I'm trying to get started and set up
my own. Do you need any html coding knowledge to make your own blog?
Any help would be greatly appreciated!

44. El Miércoles, Noviembre 7 2018, 03:28 por Quest Bars Cheap

Yes! Finally something about Quest Bars Cheap.

45. El Jueves, Noviembre 8 2018, 23:41 por Quest Bars Cheap

I have to thank you for the efforts you have put in writing this blog.
I really hope to check out the same high-grade content by you in the future as well.
In truth, your creative writing abilities has motivated me to get my very own site now ;)

46. El Viernes, Noviembre 9 2018, 07:05 por Quest Bars

Thank you for sharing your info. I really appreciate your efforts and I will be waiting for your next post thank you once again.

47. El Viernes, Noviembre 9 2018, 23:03 por What Equipment is Needed for Sling TV

Terrific work! This is the kind of information that are meant to be shared around the net.
Shame on Google for no longer positioning this submit higher!

Come on over and talk over with my website . Thank you =)

48. El Sábado, Noviembre 10 2018, 22:18 por Sling TV

Do you have a spam issue on this blog; I
also am a blogger, and I was wanting to know your situation; many of us have created some nice procedures and we are looking to trade methods with others, please shoot me an e-mail if interested.

49. El Domingo, Noviembre 11 2018, 00:37 por Sling TV

Your method of describing everything in this
post is actually nice, every one be capable of simply be aware of it, Thanks a lot.

50. El Domingo, Noviembre 11 2018, 03:27 por What Equipment is Needed for Sling TV

I'm really enjoying the design and layout of your blog.
It's a very easy on the eyes which makes it much more enjoyable for me to come
here and visit more often. Did you hire out a developer to create
your theme? Superb work!

51. El Domingo, Noviembre 11 2018, 17:34 por Sling TV

Sweet blog! I found it while surfing around on Yahoo News.
Do you have any tips on how to get listed in Yahoo News?

I've been trying for a while but I never seem to get there!
Cheers

52. El Lunes, Noviembre 12 2018, 01:53 por Sling TV

Hello would you mind letting me know which hosting company you're utilizing?
I've loaded your blog in 3 completely different web browsers and
I must say this blog loads a lot faster then most.
Can you recommend a good internet hosting provider at a fair price?
Thanks, I appreciate it!

53. El Lunes, Noviembre 12 2018, 11:19 por What Equipment is Needed for Sling TV

Quality content is the key to be a focus for the viewers to
pay a visit the website, that's what this site is providing.

54. El Lunes, Noviembre 12 2018, 12:26 por What Equipment is Needed for Sling TV

What's up mates, how is the whole thing, and what you desire to say
regarding this piece of writing, in my view its genuinely
amazing in support of me.

55. El Lunes, Noviembre 12 2018, 19:30 por What Equipment is Needed for Sling TV

Hi there! I know this is somewhat off topic but I was wondering
which blog platform are you using for this site?
I'm getting sick and tired of Wordpress because I've had
issues with hackers and I'm looking at options for another platform.
I would be great if you could point me in the direction of a good platform.

56. El Martes, Noviembre 13 2018, 02:56 por What Equipment is Needed for Sling TV

Hi Dear, are you truly visiting this web page on a regular basis,
if so after that you will without doubt obtain pleasant experience.

57. El Miércoles, Noviembre 14 2018, 01:16 por What Equipment is Needed for Sling TV

Great blog here! Also your web site loads up very fast!
What host are you using? Can I get your affiliate link to your host?
I wish my website loaded up as fast as yours lol

58. El Miércoles, Noviembre 14 2018, 09:10 por Sling TV

Hello there! Quick question that's entirely off topic.
Do you know how to make your site mobile friendly? My web site looks weird when browsing from my iphone 4.
I'm trying to find a template or plugin that might be able to fix this issue.
If you have any recommendations, please share. Thanks!

59. El Miércoles, Noviembre 14 2018, 17:14 por Sling TV

My relatives all the time say that I am wasting my time here
at web, except I know I am getting knowledge everyday by reading such good articles or reviews.

60. El Jueves, Noviembre 15 2018, 15:33 por Sling TV

Hello are using Wordpress for your blog platform? I'm new
to the blog world but I'm trying to get started and create my own. Do you need any coding expertise to make your own blog?
Any help would be really appreciated!

61. El Viernes, Noviembre 16 2018, 13:21 por What Equipment is Needed for Sling TV

I truly love your website.. Very nice colors & theme.
Did you build this site yourself? Please reply back as I'm trying to create my own personal blog
and would like to find out where you got this from or what the theme
is called. Appreciate it!

62. El Sábado, Noviembre 17 2018, 09:49 por sling tv coupons and promo codes for november 2018

Sling tv coupons and promo codes for november 2018
Awesome blog! Do you have any tips and hints for aspiring
writers? I'm planning to start my own blog soon but I'm a little lost
on everything. Would you advise starting with a free platform like Wordpress or go for a paid option? There are so many
choices out there that I'm totally overwhelmed ..
Any tips? Appreciate it! Sling tv coupons and promo codes for
november 2018

63. El Domingo, Noviembre 18 2018, 19:27 por What Equipment is Needed for Sling TV

Thank you for the auspicious writeup. It in fact was a amusement account it.

Look advanced to more added agreeable from you! By the way,
how can we communicate?

64. El Lunes, Noviembre 19 2018, 08:02 por What Equipment is Needed for Sling TV

Hello! I've been reading your blog for a while now and finally
got the courage to go ahead and give you a shout out from
Porter Tx! Just wanted to mention keep up the great job!

65. El Lunes, Noviembre 19 2018, 11:33 por What Equipment is Needed for Sling TV

Thank you for the auspicious writeup. It in fact was a amusement account it.
Look advanced to far added agreeable from you! By the way, how can we communicate?

Añadir un comentario

El código HTML se muestra como texto y las direcciones web se transforman automáticamente.

Discusiones sobre el mismo tema

URL de retroenlace : http://creativapixel.com/blog/index.php?trackback/5

516 reads