Help me please with ftpd settings

Zeus

Registered
Hi all,
after reading the ftpd man pages i've tryed to create a ~/etc directory containing a motd file.

This plain text file should be printed after a succefful login ...
but it doesn't work ...
why ??

is there anyone able to solve this problem ....

I know i can use proftpd ... but its configuration it's too hard for me ... and ... the normal OS X strandard daemon is more than ok for me !!


Thanks a lot to anyone can help !!
 
So it's not possible to make a personal message for every user logged in via ftp??

I think no (at this point) ... just for security!
 
The file you're thinking of is not ~/etc/motd but /etc/motd and is a plan text file displayed to all users who login to the terminal (locally or via SSH, and perhaps FTP as well I'm not sure).

Mine reads
Code:
[localhost:~] gwailo% cat /etc/motd
Welcome to Helios;
*AUTHORIZED PERSONNEL ONLY*
I've also got a ``.login`` script in my home folder that reads ``date;uptime;;`` so it all strings together to make a nice informative welcome screen.

Perhaps a PERL script that does something like the DOS equivalent of "@echo [string]" like "@echo Welcome Zeus!" but I don't know how to do that, sorry :p
 
Here's how /etc/motd works
For all ftp users who ARE NOT ftpchroot 'ed, the file in /etc/motd shows.

Lets say that the user 'joeuser' has a homefolder in /Users/joeuser (the default place).
If you add joeuser in the file /etc/ftpchroot it makes joeuser 's root (when in FTP, hence the name of the file) his home folder (which you can change using NetInfo Manager). So, then you could make /Users/joeuser/etc/motd since /Users/joeuser is now joeuser 's root folder.
 
Testuser, what are you talking about?
man ftpd

Also read the previous posts mb... i said exactly the same thing. Oh well.
 
*slaps left forefinger and right pinky for laziness*
Yup, you're right testuser. I did mean ftpmotd not motd.

It's possible that in all my trials of different ftpd's I have made something work differently than the default, I worked through all this a long time ago.

The title was given to me automatically since I was an official volunteer (back in the days before press3 was around) and I haven't bothered to remove it as it amuses me ;)
 
Back
Top