Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

How to pass a password with special characters to Windows?



I have:

1. An Apple silicon machine running Sequoia 15.2, with zsh 5.9 (arm64-apple-darwin24.0).

2. A Windows 10 machine with an NTFS internal drive that I want to mount to the Mac.

3. A password on the Windows machine that cannot be changed, and contains three special characters. The password, with the letters and numbers obfuscated is: ****^*******%) (all * are either numbers or letters).

This command works to mount the drive, but prompts for the password:
mount -t smbfs //username@10.0.0.23/D /Users/Shared/Windows-D\

How can I pass the password with the mount command in a format that Windows can read? The password can be passed either through Keychain or in plain text in the command; but I don't know how to do either successfully.

I have "A User's Guide to the Z-Shell" available, but it was a bit overwhelming for me.



Thanks,

Ken












Messages sorted by: Reverse Date, Date, Thread, Author