DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 24th June 2008
crofox crofox is offline
New User
 
Join Date: Jun 2008
Posts: 2
Thanked 0 Times in 0 Posts
Default ftpd and hiding . files

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.
Reply With Quote
  #2   (View Single Post)  
Old 24th June 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,610
Thanked 214 Times in 189 Posts
Default

The ftpd(8) server responds to LIST commands with "ls -lgA". See src/libexec/ftpd/ftpcmd.y
Reply With Quote
  #3   (View Single Post)  
Old 25th June 2008
crofox crofox is offline
New User
 
Join Date: Jun 2008
Posts: 2
Thanked 0 Times in 0 Posts
Default

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!
Reply With Quote
  #4   (View Single Post)  
Old 25th June 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

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.
Reply With Quote
  #5   (View Single Post)  
Old 25th June 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,873
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by BSDfan666 View Post
It would appear that you don't have the source installed in /usr/src...
"Pre-loading" the source tree is discussed in Section 5.3.3 of the FAQ:

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.
Reply With Quote
  #6   (View Single Post)  
Old 26th June 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,610
Thanked 214 Times in 189 Posts
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 06:42 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick