Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I mount a password-protected Windows share in Red Hat Enterprise Linux 5?

share|improve this question

this is untested:

# mkdir -p /mnt/ntserver
# mount -t cifs //ntserver/download -o username=shareuser,password=sharePassword /mnt/ntserver

...where you replace 'shareuser' and 'sharepassword' with the corresponding data from a account on your windows machine. start with a simple password you don't have to escape in the above commandline.

share|improve this answer

Your Answer


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