Hey
I'm writing a login bash script to mount our network shares using the mount_smbfs command and I'm trying to grab user's pw at login.
If you run this line in terminal | security 2>&1 >/dev/null find-generic-password -ga USERNAME_HERE | awk '{print $2}' | sed -e 's/"//g' | it will output the user's default password from there login.keychain but the user is prompoted to to allow/deny. As of now I've been piping the results into the script and it works but that prompt is unacceptable. Anyone know how to grab user's credentials at login, preferably with bash?
Anyone know of a way to automount network shares at login with Casper, Default OS X tools, applescript all while not prompting for credentials ?
Any Help would be nice. Thanks in advance. ~Joseph
...
HUGE
Joseph Simon / IT Support Technician
718 233 4016 / F 718 625 5157
www.hugeinc.com
