Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
How to pass a password with special characters to Windows?
- X-seq: zsh-users 30180
- From: zsh@xxxxxxxxxxx
- To: zsh-users@xxxxxxx
- Subject: How to pass a password with special characters to Windows?
- Date: Fri, 17 Jan 2025 15:29:32 -0500
- Archived-at: <https://zsh.org/users/30180>
- List-id: <zsh-users.zsh.org>
- Reply-to: zsh@xxxxxxxxxxx
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