![]() |
|
|||||||
| OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
Hello all, thanks for any help! I got my base 4.2 install, configure ftpd with chroot, created a test user, all is good. However, when I use filezilla to connect, it shows the .cshrc .login .mailrc and the .profile files. Is there a way to hide these? I know I can remove them, and the user account still works, but ideally, I'd like to try to hide them. Thanks in advance for any advice! Much appreciated.
|
|
||||
|
The ftpd(8) server responds to LIST commands with "ls -lgA". See src/libexec/ftpd/ftpcmd.y
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
Ahh, thank you! I forgot about the commands. I looked at my server and I don't seem to have that file in that directory. Any other ideas? Thank you!
|
|
|||
|
It would appear that you don't have the source installed in /usr/src then, or if you do, were unable to interpret the relative path jggimi gave you.
|
|
|||
|
Quote:
http://openbsd.org/faq/faq5.html#BldGetSrc src.tar.gz can be found on the 4.3-release CD's, downloaded from a mirror, or installed via CVS. |
|
||||
|
If you are interested in modifying ftpd yourself, you can do so. To build it, assuming your source tree is in /usr/src:
# cd /usr/src/libexec/ftpd <make all the customizations you want> # make obj && make && make install <restart ftpd, confirm that your modifications are working> # rm -rf obj
__________________
OpenBSD LiveCDs/LiveDVDs |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| inetd, ftpd problems | jsadm | FreeBSD General | 7 | 24th August 2008 08:33 PM |
| ftpd problem | narcotico | FreeBSD General | 3 | 11th July 2008 03:08 AM |
| chmods for users & hiding processes | mike | OpenBSD Security | 2 | 12th June 2008 04:15 PM |
| pure-ftpd | hirohitosan | FreeBSD Ports and Packages | 3 | 10th June 2008 06:31 PM |
| FTPD User Access Denied | wastedbreath | FreeBSD General | 7 | 21st May 2008 03:44 AM |