Friday, October 16, 2009

Scripting smb fun

I'm not a UNIX geek by nature. I'm a Mac guy, but any Mac tech worth their salt isn't afraid of the shell. I've spent more and more time in the shell, knowing that my goal (ACSA) will require a lot of hard-core shell work to get. So when I try to script a silent install of Check Point Full Disk Encryption, it's not the walk in the park it might be for others.

In the end, the answer was simple:
mount -o noowners -v- t smbfs //domain;user:pass@sharename mountpoint
will mount the smb share for all users, bypassing the sudo the script runs under, and enabling access to the share by the FDE Installation package.

However, this foray into shell scripting is getting deeper and deeper as I try to automate my Mac setup more and more. My current favorite utility? Bwana - a great utility for viewing man pages in Safari.

No comments:

Post a Comment