|
|
#1 |
|
Prospect
Join Date: Jan 2013
Posts: 1
|
using mount command with password that has @ in it
Im mounting drives via scripts like this...
mount -t smbfs //user:password@server/share target_directory My problem is that the password I need to use has the @ character in the password. On linux I would just put the password in quotes 'pass@word' like that. But that doesn't work on the mac. Is there a way to get around this? By the way changing the password for the target account is not my first option. There are many, many machines and services that use this account and that would be a huge pain for me. Thanks in advance. |
|
|
|
|
|
#2 |
|
MVP
Join Date: May 2004
Posts: 2,012
|
If you read the man page for mount_smbfs, you should be able to pass '-N' and specify the password in '~/Library/Preferences/nsmb.conf'.
__________________
i am jack's amusing sig file |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|