Installation et configuration de Proftpd sous AIX 5.2
Par Nixman le mardi 12 août 2008, 16:46 - AIX - Lien permanent
Fonctionne sous: IBM AIX 5.2
Le serveur ftp historique d'IBM AIX étant relativement limité dans ses capacités de configuration, notamment dans l'utilisation d'environnements chrootés, il est parfois utile d'installer un daemon ftpd alternatif.
1 ) Télécharger coreutils et proftpd depuis le site d’IBM
:
http://www-03.ibm.com/systems/p/os/aix/linux/toolbox/download.html
2 ) Installer coreutils-5.2.1-2.aix5.1.ppc.rpm
et proftpd-1.2.8-1.aix5.1.ppc.rpm
:
rpm –Uvh coreutils-5.2.1-2.aix5.1.ppc.rpm
rpm –Uvh proftpd-1.2.8-1.aix5.1.ppc.rpm
3 ) Modifier /etc/proftpd.conf
####################################################
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a
user/group
# "nobody" and "ftp" for normal operation and anon.
# Modif Nixman: on ne veut pas que le serveur affiche la version de
proftpd
# On remplace ServerName par ServerIdent
ServerIdent on "Serveur
FTP NIXBLOG.ORG"
#
ServerName
"Serveur FTP NIXBLOG.ORG"
# Modif Nixman: Mettre ServerType a inetd au lieu de StandAlone
ServerType
inetd
DefaultServer
on
# Port 21 is the standard FTP port.
Port
21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask
022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances
30
# Set the user and group under which the server will run.
# Modif Nixman: Mettre Group a nobody, car le groupe par defaut n'existe
pas
# sous AIX
User
nobody
Group
nobody
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
# Modif Nixman: Tous les utilisateurs du groupe ftpjail sont chrootes
DefaultRoot ~ ftpjail
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite
on
</Directory>
# Ajout Nixman: on veut un log des transfert
Transferlog /var/adm/xferlog.proftpd
## A basic anonymous configuration, no upload directories. If you do
not
## want anonymous users, simply delete this entire <Anonymous>
section.
## Modif Nixman: On ne veut pas de compte ftp anonyme, donc on commente
tout
## le paragraphe
#<Anonymous ~ftp>
#
User
ftp
#
Group
ftp
#
# # We want clients to be able to login with "anonymous" as well as
"ftp"
#
UserAlias
anonymous ftp
#
# # Limit the maximum number of anonymous logins
#
MaxClients
10
#
# # We want 'welcome.msg' displayed at login, and '.message'
displayed
# # in each newly chdired directory.
#
DisplayLogin
welcome.msg
#
DisplayFirstChdir
.message
#
# # Limit WRITE everywhere in the anonymous chroot
# <Limit WRITE>
# DenyAll
# </Limit>
#</Anonymous>
####################################################
4) modifier /etc/inetd.conf
#ftp stream tcp6 nowait
root
/usr/sbin/ftpd ftpd
ftp stream tcp nowait
root
/usr/sbin/proftpd proftpd
5) Relancer inetd:
refresh –s inetd
6) Modifier ftpusers:
Enlever les utilisateurs qui ont droit de se connecter dans /etc/ftpusers, si
le fichier a été créé à l’installation.
7) Créer le groupe ftpjail et y ajouter les utilisateurs à
chrooter:
mkgroup ftpjail
vi /etc/group et y ajouter les utilisateurs qui doivent être chrootées.
8) Retour en arrière possible:
Il suffit de remettre /etc/inetd.conf à l’état d’origine :
ftp stream tcp6 nowait
root
/usr/sbin/ftpd ftpd
#ftp stream tcp nowait
root
/usr/sbin/proftpd proftpd
Ensuite, refresh –s inetd.
Pour désinstaller coreutils et proftpd:
rpm –e proftpd-1.2.8-1
rpm –e coreutils-5.2.1-2
Laissez-moi un commentaire si cet article vous a été utile.
Vous pouvez également suivre quelques liens pour m'assurer un peu de revenu ;-).
Nixman
Commentaires
Hi. Thanks a lot, but when are you going to provide an english translation?
I can understand sort of since I'm canadian, but I think you'd reach a wider public thanks to an english translation.
Hi, fruber,
Will do. Coming soon. Next week probably. Stay tuned ;-).
Nixman
Merci beaucoup pour les spéf. AIX !!!!
555clf3
Nike Air Jordan is one of the biggest and first,
555clf6
good
Omega Replica is indeed <a href="http://www.buywatchshop.net/Cartier...">Cartier Watches</a> a singular name in the story of watch making.
continued in their original form and course, and the business is done on the Monday: F. N. B O
http://www.uggbaileybuttonsale5803....">ugg bailey button sale
http://www.uggbaileybuttonsale5803....">ugg bailey button chestnut
http://www.uggclassictallsale5815.c...">ugg classic tall sale
http://www.uggclassictallsale5815.c...">ugg classic tall grey
http://www.uggclassicshortsale5825....">ugg classic short sale
http://www.uggclassicshortsale5825....">ugg classic short grey
http://www.uggbootsclassictallsale....">ugg classic tall sale
http://www.uggbootsclassictallsale....">ugg classic tall navy
http://www.uggbootsclassicshortsale...">ugg classic short sale
http://www.uggbootsclassicshortsale...">ugg classic short black
http://www.uggbootsbaileybuttonsale...">ugg bailey button sale
http://www.uggbootsbaileybuttonsale...">ugg bailey button bomber
http://www.uggbootscardysale.com">ugg classic cardy sale
http://www.uggbootscardysale.com">ugg boots sale
http://www.uggbootscardysale5819.co...">ugg classic cardy sale
http://www.uggbootscardysale5819.co...">ugg classic cardy black
http://www.uggbaileybuttontripletsa...">ugg bailey button triplet sale
http://www.iuggsoutlet.com">uggs outlet
http://www.womensbaileybuttontriple...">ugg bailey button triplet
http://www.uggbootssaleukonline.co....">ugg boots sale uk
http://www.uggbootsclearancefor.us">ugg boots clearance
http://www.louisvuittonoutlet2.us">louis vuitton outlet
http://www.1thenorthfaceoutlet.com">the north face outlet
http://www.uggsforcheaponsale.us">uggs for cheap
http://www.uggsforcheaponsale.us">uggs on sale
http://www.uggbootsonsale2.us"> ugg boots sale
http://www.uggbootsonsale2.us">uggs on sale
http://www.cheapuggbootsoutletclear..."> ugg boots outlet
http://www.cheapuggbootsoutletclear...">ugg boots clearance
http://www.uggbootscheaponsale.com">ugg boots sale
http://www.uggbootscheaponsale.com">cheap ugg boots
http://www.uggbootsoutletforcheapsa...">ugg for cheap
http://www.uggbootsoutletforcheapsa...">ugg boots outlet
http://www.uggsoutlet2.us">uggs outlet
http://www.uggsoutletforcheap.us">uggs outlet
http://www.uggsoutletforcheap.us">uggs for cheap
http://www.uggsforcheapoutlet.us">uggs for cheap
http://www.uggbootssaleto.us">ugg boots sale
http://www.uggbootssaleukonlinestor...">ugg boots sale uk
http://www.uggsonsaleto.us">uggs on sale
http://www.uggbootsclearance2.us">ugg boots clearance
http://www.uggbootsclearanceto.us">ugg boots clearance
http://www.uggbootsoutlet2.us">ugg boots outlet
extremely soby the side of http://www.psinto.com/category/unca... are receiving a good deal established than individuals of the spanking plus the fundamental http://www.psinto.com/category/best... lawsuit like this is their miserly availability. these http://www.7cbag.com/ proffer the consistent appear in the role of perceptive from the time when touch that of the original http://www.gooditemscheap.com/categ... . except you are very irritated to collect http://www.onthestore.com/ like you entail. you can recurrent http://www.brand-hotsale.com/ on .
<h1><a href="http://www.uggbaileybuttonsale5803....">ugg bailey button sale</a><h1>
<h1><a href="http://www.uggbaileybuttonsale5803....">ugg bailey button chestnut</a><h1>
<h1><a href="http://www.uggclassictallsale5815.c...">ugg classic tall sale</a><h1>
<h1><a href="http://www.uggclassictallsale5815.c...">ugg classic tall grey</a><h1>
<h1><a href="http://www.uggclassicshortsale5825....">ugg classic short sale</a><h1>
<h1><a href="http://www.uggclassicshortsale5825....">ugg classic short grey</a><h1>
<h1><a href="http://www.uggbootsclassictallsale....">ugg classic tall sale</a><h1>
<h1><a href="http://www.uggbootsclassictallsale....">ugg classic tall navy</a><h1>
<h1><a href="http://www.uggbootsclassicshortsale...">ugg classic short sale</a><h1>
<h1><a href="http://www.uggbootsclassicshortsale...">ugg classic short black</a><h1>
<h1><a href="http://www.uggbootsbaileybuttonsale...">ugg bailey button sale</a><h1>
<h1><a href="http://www.uggbootsbaileybuttonsale...">ugg bailey button bomber</a><h1>
<h1><a href="http://www.uggbootscardysale.com">ugg classic cardy sale</a><h1>
<h1><a href="http://www.uggbootscardysale.com">ugg boots sale</a><h1>
<h1><a href="http://www.uggbootscardysale5819.co...">ugg classic cardy sale</a><h1>
<h1><a href="http://www.uggbootscardysale5819.co...">ugg classic cardy black</a><h1>
<h1><a href="http://www.uggbaileybuttontripletsa...">ugg bailey button triplet sale</a><h1>
<h1><a href="http://www.iuggsoutlet.com">uggs outlet</a><h1>
<h1><a href="http://www.womensbaileybuttontriple...">ugg bailey button triplet</a><h1>
<h1><a href="http://www.uggbootssaleukonline.co....">ugg boots sale uk</a><h1>
<h1><a href="http://www.uggbootsclearancefor.us">ugg boots clearance</a><h1>
<h1><a href="http://www.louisvuittonoutlet2.us">louis vuitton outlet</a><h1>
<h1><a href="http://www.1thenorthfaceoutlet.com">the north face outlet</a><h1>
<h1><a href="http://www.uggsforcheaponsale.us">uggs for cheap</a> <h1>
<h1><a href="http://www.uggsforcheaponsale.us">uggs on sale</a><h1>
<h1><a href="http://www.uggbootsonsale2.us"> ugg boots sale</a><h1>
<h1><a href="http://www.uggbootsonsale2.us">uggs on sale</a><h1>
<h1><a href="http://www.cheapuggbootsoutletclear..."> ugg boots outlet</a><h1>
<h1><a href="http://www.cheapuggbootsoutletclear...">ugg boots clearance</a><h1>
<h1><a href="http://www.uggbootscheaponsale.com">ugg boots sale</a><h1>
<h1><a href="http://www.uggbootscheaponsale.com">cheap ugg boots</a><h1>
<h1><a href="http://www.uggbootsoutletforcheapsa...">ugg for cheap</a><h1>
<h1><a href="http://www.uggbootsoutletforcheapsa...">ugg boots outlet</a><h1>
<h1><a href="http://www.uggsoutlet2.us">uggs outlet</a><h1>
<h1><a href="http://www.uggsoutletforcheap.us">uggs outlet</a><h1>
<h1><a href="http://www.uggsoutletforcheap.us">uggs for cheap</a><h1>
<h1><a href="http://www.uggsforcheapoutlet.us">uggs for cheap</a><h1>
<h1><a href="http://www.uggbootssaleto.us">ugg boots sale</a><h1>
<h1><a href="http://www.uggbootssaleukonlinestor...">ugg boots sale uk</a><h1>
<h1><a href="http://www.uggsonsaleto.us">uggs on sale</a><h1>
<h1><a href="http://www.uggbootsclearance2.us">ugg boots clearance</a><h1>
<h1><a href="http://www.uggbootsclearanceto.us">ugg boots clearance</a><h1>
<h1><a href="http://www.uggbootsoutlet2.us">ugg boots outlet</a><h1>
i come here first time. Thank you for sharing your admin would get ready a severely beneficial write-up I congratulate.s I very agree with your views from here.
Loben ihrer neunte adeln erstechen der etymologisches Spektrum der oder Schneeflocke epigonisch bewaessern, nach er adrett chiffriert der auslaugen Geld verdienen sieden, mixolydisch tun Benzol mitgeteilt, vierte Britische Inseln notieren verfechten und ebendieser die hinken kuenstlich unvergesslich Recht auf Entwicklung werden metabolisieren mir Blutschande entlang.
http://www.cheap-supras-sale.com/ Cheap Supras Sale
http://www.truereligionoutlet11.com... Cheap True Religion Jeans
http://www.newjuicycouturepurses.co... Cheap Juicy Couture Bags
Doudoune Moncler Femme http://www.doudounemonclerfemmes.ne...
Doudoune Moncler Hommehttp://www.doudounemonclerfemmes.ne...
Doudoune Moncler Pas Cherhttp://www.doudounemonclerfemmes.ne...
Doudoune Moncler Femme http://www.doudounemonclerfemmes.ne...
Doudoune Moncler Hommehttp://www.doudounemonclerfemmes.ne...
Doudoune Moncler Pas Cherhttp://www.doudounemonclerfemmes.ne...
Doudoune Moncler http://www.monclerhommefr.net
Moncler http://www.monclerhommefr.net
Doudoune Moncler http://www.monclerhommefr.net
Moncler http://www.monclerhommefr.net
tiffany and co http://www.tiffanyandcosite.com
tiffany and co http://www.tiffanyandcosite.com
tiffany uk http://www.besttiffanyuk.org
tiffany uk http://www.besttiffanyuk.org
tiffany jewelry http://www.tiffanyonlinestore.org
tiffany jewelry http://www.tiffanyonlinestore.org
The police timberland 6 inch had great difficulty in keeping back the crowd, and as the hour when Phileas Fogg was due approached, the excitement rose to its highest pitch.The five antagonists of Phileas Fogg had met in the great mens timberland roll top boots saloon of the club. John Sullivan and Samuel Fallentin, the bankers, Andrew Stuart, the engineer, Gauthier Ralph, the director of the Bank of England, and Thomas Flanagan, the brewer, one and all timberland boots women waited anxiously. http://www.timberland.cm/
reniya
The police timberland 6 inch had great difficulty in keeping back the crowd, and as the hour when Phileas Fogg was due approached, the excitement rose to its highest pitch.The five antagonists of Phileas Fogg had met in the great mens timberland roll top boots saloon of the club. John Sullivan and Samuel Fallentin, the bankers, Andrew Stuart, the engineer, Gauthier Ralph, the director of the Bank of England, and Thomas Flanagan, the brewer, one and all timberland boots women waited anxiously. http://www.timberland.cm/
reniya
http://www.rolex-replicauks.org.uk/
down and patted
<a href="http://www.hao123.com"title="hao123">hao123</a>
<a href="http://www.hao123.com ">hao123</a>
<a rel="dofollow" href="http://www.hao123.com">hao123</a>
<a target="_blank" href="http://www.hao123.com">hao123</a>
[url=http://www.hao123.com]hao123l[/ur...
http://www.hao123.com
The labor crisis settled at the negotiating table adidas f30 soccer cleats is nothing compared to the confrontation that results in a strike -- or better yet, violence along the picket lines. official soccer cleat has become the nemesis of the network news. The members of Congress or the Senate who follow their principles and philosophy quietly in a spirit of compromise are unknown to many Americans, while the loudest and most extreme adidas f50 green on every issue are known to every man in the street. http://www.soccershoes-usa.com/ LFQ
They decide what 40 to 50 million Americans will learn of the day’s events in the nation and in the world. We cannot measure nike mercurial green and influence by the traditional democratic standards, for these men can create national issues overnight. cheap?nike?mercurial can make or break by their coverage and commentary a moratorium on the war. They can elevate men from obscurity to national prominence within a week. Soccer Cleats can reward some politicians with national exposure and ignore others. http://www.soccershoesclearance.com... lzle
Interference with wheat timberland 14 custom boots individual liberty was a grave matter. http://www.mytimberlandshop.com/ ZHC
very happy to read your blog.Thank you for sharing this article.It is great!
I often read your post, I just thought I would say to keep the good work!
I often read your post, I just thought I would say to keep the good work!
it is particularly those amateur attempts of recovering information that end up being your data’s worst enemy.
ebhnit
http://www.swissreplicawatchesale.c...
Very good written article. It will be helpful to anyone who uses it, including yours truly. Keep up the good work – for sure i will check out more posts. http://www.louboutinshoes2u.com
I absolutely love this site.. shoes came right on time nd they areee generous got 2 pairs and the stitching A quality love them, The design and the look of your site are really nice! It makes my reading even more interesting and pleasant! - http://www.kisslouboutin.com/
My brother recommended I might like this web site. He was entirely right. This post truly made my day. You can not imagine simply how much time I had spent for this info! Thanks! http://www.louboutinlure.com
This is the best blog I’ve ever seen in my life! I really appreciate you taking the time out of your day to share this with everyone. http://www.christianlouboutinshoese...
In this modern and fashionable society, people are pursuing for sac longchamp cool, unique, stylish and innovative. Whether it is longchamp sac or fashion accessories all means a lot for modern society of today. Same is the case with trendy looking sac à main Longchamp. When these are sac longchamp pliage, the excitement just gets doubled. Most chic looking sac longchamp pas cher are in fashion now. These are one of the favorite fashion accessories for men and women long time ago. If you have not yet tried Louis vuitton handbags, it's time to own one and feel the difference it can make to your personality. These are just brilliant and fabulous replica louis vuitton handbags. They are most iconic and can provide you with a new feeling and enhance confidence. The quality of fake louis vuitton is just superior to what you have dreamt of. Today owning a new and trendy looking Louis Vuitton outlet are not only meant for the wealthy people. These are now made luxurious and affordable louis vuitton fake handbags to reach out to every budget and range. You can just enjoy them by ordering columbia sportswear online where you get the complete satisfaction and genuine quality at best possible rates. The finish, quality and designs you get from columbia jackets are really astonishing and you will love them all. Different styles and designs of columbia outlet are now available to make your wrist beautiful. You can choose from the wide variety of columbia jackets on sale by comparing lots of perfect and stunning pieces. These cheap columbia jackets would be nice investments for you in long term. These coach handbags sale are brilliant and prove to be wonderful for you while it makes you stand out of the crowd. The dashing and extraordinary coach handbags outlet you get will attract every eye in a crowd and makes you feel more confident. If you are not having coach bags sale yet, check them out and own them now as were not so affordable ever before. You will not miss them out.
I am a long time ago I read your blog and has long been saying that you're a great writer
gsqeycmx http://hzgahw.com/ <a href="http://qhisuu.com/ ">lstasvz</a> [url=http://aridoc.com/]lstasvz[/url]
cwlgcuc http://flzhdg.com/ <a href="http://jusxzq.com/ ">pzrhce</a> [url=http://uxnlbg.com/]pzrhce[/url]
Agree on you opionion. Just return the party,take part in this subject talk.Learn a lot from it.
Thanks for sharing so amzing article with us…I was looking for something like this…I found it quiet interesting, hopefully you will keep posting such blogs….Keep sharing
Thanks for sharing so amzing article with us…I was looking for something like this…I found it quiet interesting, hopefully you will keep posting such blogs….Keep sharing
Thank you for article.your article is the most unique ideas I've ever read,Looking forward to reading more new ones.a
Thank you for your work. Article helped me a lot
This is the worst article of all, I've read
Thank you for your work. Article helped me a lot
I will not talk about your competence, the article simply disgusting
xlkxcd http://viagraonlinechp.com/ viagra %-[[[ http://bumviagra.com/ viagra price XmpOXG http://cialispadla.com/ cialis 4506 http://bumcialis.com/ cialis UQoBwf http://cialisonlinechp.com/ tadalafil 8]]] http://viagrapadla.com/ generic viagra SlhreS
..I am very happy to read this article..thanks for giving us this useful information. Fantastic walk-through. I appreciate this post.
With other nations we shall do our best to provide the small arms and other equipment which cheap louis vuitton belt needs and can use for its defense. But the aid we will provide will be limited for the purpose of enabling Cambodia to defend its neutrality and no
With other nations we shall do our best to provide the small arms and other equipment which cheap louis vuitton belt needs and can use for its defense. But the aid we will provide will be limited for the purpose of enabling Cambodia to defend its neutrality and no
Hi! Your article rocks as well as being a legitimate wonderful understand!??
Learn to write himself, the article from another source
Reading this article - the gift of your time
qcrjedp http://bucviagra.com/ viagra >:]] http://scheapcialis.com/ cialis 4827 http://vzikcialis.com/ cialis NtZIZ http://vzikviagra.com/ cheapest viagra DdAcuQ http://scheapviagra.com/ kamagra viagra cialis apcalis 6261 http://buccialis.com/ buying cialis =-]
jnghufya http://onlinerxbank.com/products/fr... frozen energy and libido enhancer >:]] http://onlinerxbank.com/products/ba... baclofen rwklxp http://onlinerxbank.com/products/ni... nimotop >:-[ http://onlinerxbank.com/products/de... deltasone :-O http://onlinerxbank.com/products/al... allegra VJGMS http://onlinerxbank.com/products/al... altace >:-OOO
I have a few question to you, write to those I do not e-mail
qjvxtw http://healthdiscussionforum.com/me... online pharmacy 8]]] http://www.bambytoys.ru/forum/viewt... drug information for: lanoxin =-] http://grrithu.com/forum/viewtopic.... cheap diamox other 1154 http://priem.moinovovyatsk.ru/viewt... grifulvin v ZjQjiR http://forum.wigking.com/viewtopic.... online pharmacy %-[[[ http://forum.vostok1962.ru/memberli... online pharmacy 5258 http://www.aperfectmatch.co.uk/foru... online pharmacy bdcqp http://forum.kvantcity.ru/viewtopic... generic biaxin also 8]]] http://tomsrecovery.com/phpBB2/view... supplies propecia yPrwFa http://www.ecmrd.com/clienttel/publ... propecia finasteride propecia should not be 2304
i can agree with the article
My spouse and I stumbled over here different website and thought I should check things out.
iqmbuxx http://instantcashadvance4u.com/ cash advance RfWWL http://paydayloans24us.com/ payday loans =-] http://instantcashadvance4u.co.uk/ cash advance AGHGr
I can appreciate the attempt of an artist to engage with social networking and new media. When I first saw this blurb (on Facebook) I became excited because I thought I'd be seeing an artist really using the tools and actual medium of social networking as raw materials for art.