Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to setup a samba for file sharing in my intranet, but I want to know if there is any way to prohibit some kind of files (e.g *.exe) uploaded to the share folder? And I want to know if there is any way to force the user to change the password for the first time login?

share|improve this question

2 Answers 2

You can use the veto files statement to prevent the upload of exe files. Forcing users to modify passwords is also possible in some circumstances, but I believe this requires running Samba at least as a Domain Controller and your users logging into the domain.

share|improve this answer
    
thanks a lot, i will check with the veto files utility –  husean Nov 28 '11 at 2:41

Yes it is possible. I do not have full answer but hint is use to veto files option in your configuration file for your first query. Hint for second query is to use pdedit utility.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.