Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Mar 2005 16:30:19 -0500
From:      Charles Swiger <cswiger@mac.com>
To:        jmlewis@dslextreme.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FTP server on 5.3
Message-ID:  <5cbd94c447738b05542ca4418eec87b3@mac.com>
In-Reply-To: <22200a29d60a18f00a253e0a.20050316125612.wzyrjvf@www.dslextreme.com>
References:  <22200a29d60a18f00a253e0a.20050316125612.wzyrjvf@www.dslextreme.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 16, 2005, at 3:56 PM, Joshua Lewis wrote:
> 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.

Yes.

> 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5cbd94c447738b05542ca4418eec87b3>