Skip navigation

Getting username in script

465 Views 5 Replies Latest reply: Aug 15, 2012 10:20 PM by merrittr RSS
merrittr Level 1 Level 1 (0 points)
Currently Being Moderated
Aug 15, 2012 10:34 AM

Hi All


Was trying to set up a script for on login that mount the kerberos authenticated users home drive but cant figure out what the system variable is at the terminal

command line the username is found in USER but that doesnt seem to work . How would i retrieve this in applescript?




mount volume “smb://server/” & USER


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.