After some digging around I got this to work - might as well share with the nation.
```
!/bin/sh
``
username=$(id -un)
scutil --set LocalHostName $username
scutil --set ComputerName $username
scutil --set HostName $username
Thoughts? Comments?
After some digging around I got this to work - might as well share with the nation.
```
``
username=$(id -un)
scutil --set LocalHostName $username
scutil --set ComputerName $username
scutil --set HostName $username
Thoughts? Comments?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.