4

I need to be able mount SAMBA (SMB sharing) from terminal, for MAC OS versions (10.7). Is there a way to use mount_smbfs with keychain so I don't get prompt the username/password or have to add it to the command? I'm quite new to this so any help would be appreciated.

4

1 に答える 1

1

チェックアウトman nsmb.conf。これは、〜/ Library / Preferences / nsmb.conf(または場合によっては/etc/nsmb.conf)にある構成ファイルであり、パスワードなどの構成の詳細をそこに保存できます。これはキーチェーンではないため、暗号化されていませんが、コマンドにパスワードを入力する必要がありません。

于 2012-04-22T03:18:14.280 に答える