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.

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

share|improve this question

1 Answer 1

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

 
discard

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