-
February 23rd, 2004, 03:58 AM
#1
vsftpd users restrictions
Hi all,
I've never needed to use a FTP service. I'm just setting it up for the hell of it.
I'm using vsftpd on a Red Hat 9 box.
(still haven't upgraded to fedora or any other distro on this server)
I want to allow a test user to login via ftp but only permit them to browse/access certain folders in /var/ftp.
I've created a group called "ftp". I set the permissions on /var/ftp/ so group can access it.
I created a user "testing" and make their home drive /var/ftp/pub and set shell to /sbin/nologin
I can log into the ftp server using this account, but disallowed them a shell.
However, they can still browse files outside /var/ftp even though the ONLY group they are part of is "ftp" which I only set group permissions to /var/ftp
Anyone know what I did wrong?
Thanks in advance.
EDIT:
Nevermind. I had to enable chroot() users to their home directories in /etc/vsftpd/vsftpd.conf and then create a list of the users I wanted to restrict.
Quitmzilla is a firefox extension that gives you stats on how long you have quit smoking, how much money you\'ve saved, how much you haven\'t smoked and recent milestones. Very helpful for people who quit smoking and used to smoke at their computers... Helps out with the urges.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|