Professional Web Applications Themes

FTP server on 5.3 - FreeBSD

I was trying to setup an FTP server last night on my 5.3 box. I was using the handbook and was instructed to make a new user ftp. So that worked fine and I was able to upload to ftp's home dirrectory but wanted to know if I can safley delete the .* files in his home dirrectory. I was also curious, if I change the permissions on /home/ftp to 755 then people will be able to read but not write to the dirrectory (do they need x permission to download a file?). But how do I make it so ...

  1. #1

    Default FTP server on 5.3

    I was trying to setup an FTP server last night on my 5.3 box. I was using
    the handbook and was instructed to make a new user ftp. So that worked
    fine and I was able to upload to ftp's home dirrectory but wanted to know
    if I can safley delete the .* files in his home dirrectory.

    I was also curious, if I change the permissions on /home/ftp to 755 then
    people will be able to read but not write to the dirrectory (do they need
    x permission to download a file?). But how do I make it so everyone can
    read but only certain users can write. My goal would to not use local
    accounts but pull usernames and passwords from a MySQL database. I would
    rather not transfer the username and password in clear text.

    Any thoughts or how toos I can follow?


    Thank you,
    Joshua Lewis
    Joshua Guest

  2. #2

    Default Re: FTP server on 5.3

    > On Wed, 16 Mar 2005 12:56:12 -0800 (PST), Joshua Lewis <com> wrote: 

    My first thought was that if you are concerned about the integrity of
    your passwords during transport, you may want to look into something
    other then FTP. SFTP or SCP for example ( and I'm sure there are a
    list of other options...)

    http://www.openssh.org/
    http://www.openbsd.org/cgi-bin/man.cgi?query=sftp
    http://www.openbsd.org/cgi-bin/man.cgi?query=scp

    -jw
    Jeff Guest

  3. #3

    Default Re: FTP server on 5.3

    On Mar 16, 2005, at 3:56 PM, Joshua Lewis wrote: 

    Yes.
     

    If you want to permit certain users to write, the normal way of doing
    so is to create standard Unix user accounts for them, and use a shell
    of /usr/sbin/nologin.

    However, if you care about account security, do not use FTP.
    SSH and scp are the way to go....

    --
    -Chuck

    Charles Guest

  4. #4

    Default Re: FTP server on 5.3

    try to look into pure-ftpd. You might find your solutions with it


    On Wed, 16 Mar 2005 16:30:19 -0500
    Charles Swiger <com> wrote:
     
    >
    > Yes.

    >
    > If you want to permit certain users to write, the normal way of doing
    > so is to create standard Unix user accounts for them, and use a shell
    > of /usr/sbin/nologin.
    >
    > However, if you care about account security, do not use FTP.
    > SSH and scp are the way to go....
    >
    > --
    > -Chuck
    >
    > _______________________________________________
    > org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to "org"[/ref]
    Aperez Guest

  5. #5

    Default Re: FTP server on 5.3

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On 2005-03-17, Aperez scribbled these
    curious markings: 

    As much as I've been tempted to recommend pure-ftpd in the course of
    reading this thread, I've restrained from doing so for one reason:
    despite the fact that it does support TLS-encrypted connections, very
    few *clients* support that. You can have the most encrypted FTP server
    on the planet, but it won't do you one mite of good if your clients
    can't talk to the server.

    Best Regards,
    Christopher Nehren
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.0 (FreeBSD)

    iD8DBQFCONnQk/lo7zvzJioRAqtxAJ41nd73jgVw5ZSFgwn2aYheLrxqAwCdHzji
    UWtX3Py5xDH0mBdrI6Y3lZw=
    =iuys
    -----END PGP SIGNATURE-----

    --
    I abhor a system designed for the "user", if that word is a coded
    pejorative meaning "stupid and unsophisticated". -- Ken Thompson
    If you ask the wrong questions, you get answers like "42" and "God".
    Unix is user friendly. However, it isn't idiot friendly.

    Christopher Guest

Similar Threads

  1. Replies: 2
    Last Post: September 12th, 10:44 PM
  2. Replies: 0
    Last Post: August 23rd, 05:27 PM
  3. Replies: 2
    Last Post: July 6th, 03:33 PM
  4. Problems! WinNT Client -> WinXP Web Server -> Win2000 File Server
    By Fabricio Sperandio in forum ASP.NET Security
    Replies: 1
    Last Post: April 6th, 04:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139