|
|
Create a login/logout tracking log file for all users
1. How do you create scripts? In a plaintext editor like TextEdit, or my favourite TextMate. BBEdit is the other major editor but it's expensive IMO. 2. My computer has no /usr/local/bin, so I have no idea how to save the script, if I knew how to make one. You need to be an administrator and enable root access to tinker with the contents of /usr. If you have the priveleges necessary use: sudo mkdir -p /usr/local/bin to create the necessary directories all the way down to /usr/local/bin 3. My terminal is saying that it does not recognize a+x. Once the scripts exist in the /usr/local/bin directory use… chmod +x /usr/local/bin/loginscript …to enable execution. You'll need to change loginscript to the name of your script, whatever that may be. 4. My terminal is saying that it does not recognize ?.What exactly is the response from Terminal? Is it that terminal does not recognise a question mark or are you trying to work with files that don't exist?? The errors may be due to the scripts being located somewhere other than where you're chmod'ing. --- |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|