Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I installed WU-FTPd and configured it.
But when I try to FTP heres what I get:
connecting to <my ip addy>:21
Connected to <my ip addy> port 21
500 <my hostname> FTP server shut down -- please try again later.
! unknown open message "<my hostname> FTP server shut down -- please try again later." 500
Generally speaking thougb users will login and be placed in their home dir.
Users by default are able to traverse the entire filesystem, if you want all users to be jailed to their homedir you can set this line in the ftpaccess file
Anonymous users use the real system account 'ftp' to gain access. anon users _ARE_ chroot jailed to their homedir. you can also do trendy stuff like chdir them to a location within their chroot'd environment.
try reading up on it in the ftpaccess manpage. fell free to ask more questions too though!!
Oh yeah, I was trying to set up an ftp server, but didn't know where to start since i'm a big time newb. I'm looking to serve with defined user accounts and not annoymous accts. Do I use wu-ftpd? How would go about setting it up? Is it fairly hard? I read a lil sumthin about this, like editing some files...I'm not sure though. Also is this gui based, if not, how would I be tracking peeps down in real time, like monitoring there actions while on my server? Is this console based? Is there an alternative for a GUI based adminstration setup of an ftp server? I'm so sorry for asking too many questions, but I'm a sys admin supporting winblows, and I'd like to convert over to linux, so I'd like to know the ins and outs of linux equivlents. Much input, and answers appreciated. Since I'm a newb I'm not sure where to exactly start.
I read a lil sumthin about this, like editing some files...I'm not sure though.
You modify /etc/ftpaccess to control the server.
Also is this gui based, if not, how would I be tracking peeps down in real time, like monitoring there actions while on my server?
There is no need for a gui. you set it up it works. though you can log everything that is done on the server if your paranoid.
Is there an alternative for a GUI based adminstration setup of an ftp server?
Maybe. Actually there is a gui config tool for ftpd, it comes with the suse distro (probably most of them) but you should be able to get it from freshmeat.net
I'm so sorry for asking too many questions,
Well, yes, we are being a bit lazy aren't we...
but I'm a sys admin supporting winblows,
I can forgive you
and I'd like to convert over to linux,
so I'd like to know the ins and outs of linux equivlents. Much input, and answers appreciated. Since I'm a newb I'm not sure where to exactly start.
This is all you need to know. Linux works. (being a ms os admin I'm sure you know what I mean)
start by buying a distro, pref one with good manuals. these will provide enough guidence to get you going. I use SuSE and they chop down lots of trees to make their manuals
well then, the chroot is going somewhere else... you must start ftpd with the -a option in order to activate the ftpaccess file. there is no need for other options. Are you using -a to start the ftpd? do you use inetd to start it? can you post your entire ftpaccess file here please (remove anything that names your site though)
[root@alchemy html]# cat /etc/ftpaccess
class all anonymous *
limit all 50 Any /home/httpd/yahoo.com/wu-ftpd/error.log
readme README* login
readme README* cwd=*
message /welcome.msg login
message .message cwd=*
compress yes all
tar yes all
log commands real
log transfers anonymous,real inbound,outbound
chmod no anonymous
delete no anonymous
rename no anonymous
overwrite no anonymous
umask no anonymous
[root@alchemy html]# /usr/sbin/ftprestart -a
/usr/sbin/ftprestart: invalid option -- a
usage: /usr/sbin/ftprestart [-V]
well, without knowing how the server is started on your box, I would simply suggest to you that the easiest and most efficient way of getting your anon users to choot to /home/httpd/yahoo.com/wu-ftpd/ftproot is to edit the /etc/passwd file.
find the entry for the user FTP and change the home dir entry from whatever it is, to /home/httpd/yahoo.com/wu-ftpd/ftproot
Just a note, compileing the server your self does not mean that you cannot start it via inetd. I find that using inetd is the easy way of running servers, but anyway... you want to find how your ftp server is starting. the server name is going to be in.ftpd probably (though it could be wu.ftpd if its older than 2.6.0 I think) . this is what needs to be started with the -a option.