Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

chmod command in FTP

Status
Not open for further replies.

hornet77

MIS
Oct 14, 2003
27
US
Hi,

I'm running RedHat 8.0 with vsftpd. I need to figure out how to configure my ftp server to not allow users to execute the chmod command.

Thanks!
 
In your vsftp.conf file add this:

chmod_enable=no

The default is yes if this does not exist so you need this. For more info on directves, "man vsftp.conf ".
 
It doesn't like the "chmod_enable=no" option you gave me. I received the following error after I configured vsftpd.conf with that option and then restarted xinetd:

500 OOPS: unrecognised variable in config file

I've tried putting it in there exactly as you wrote it and also tried it using a capital "NO"...still no dice. Is there a certain part of the /etc/vsftpd.conf file that I need to put this in? Is it possible that I'm getting this error because I'm running an older version of vsftpd?

I also did a search in man vsftpd.conf for 'chmod' and got no results.

Any help is appreciated, thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top