Okay if you read my Last post you know what's going on. I am really close. Just need a couple of questions answered and I am there. Here's where I am. I am sure this is basic to all the Unix people out there.
Through Terminal using the command man tcsh > new_file I created a new file.
Then I opened the new_file and placed a terminal command that I want executed each time my mac starts up.
I then used terminal to move the file into the /System/Library/StartupItems
I then ran the terminal command chmod u=rwx,g=rx,o=r
This set the permissions on the file and made it a Unix Executable File.
I restarted my computer and this command is not starting up when the computer launches. I am guessing it needs something pointing at it??
I know the file command is good because I can double click on the new_file which has the Unix Executable File extension on it and it will launch in the terminal asking me for my password. Once I put my password in, it executes the command.
1. What am I doing wrong other than having a real basic working knowledge of Unix?
2. I thought by being a Unix Executable File in the System/Library/Startup folder that was enough to make it launch on Startup. How do I make it start when my computer starts up?
3. Do I need to set something in it to work around it asking for a password to execute as it does when I double click on it and it loads into terminal asking for my password?
4. Do I have to set a path to that file to force OS X on Boot to Initalize that Unix Executable File?
Any help would be greatly appreciated.
Thanks in Advance,
Through Terminal using the command man tcsh > new_file I created a new file.
Then I opened the new_file and placed a terminal command that I want executed each time my mac starts up.
I then used terminal to move the file into the /System/Library/StartupItems
I then ran the terminal command chmod u=rwx,g=rx,o=r
This set the permissions on the file and made it a Unix Executable File.
I restarted my computer and this command is not starting up when the computer launches. I am guessing it needs something pointing at it??
I know the file command is good because I can double click on the new_file which has the Unix Executable File extension on it and it will launch in the terminal asking me for my password. Once I put my password in, it executes the command.
1. What am I doing wrong other than having a real basic working knowledge of Unix?
2. I thought by being a Unix Executable File in the System/Library/Startup folder that was enough to make it launch on Startup. How do I make it start when my computer starts up?
3. Do I need to set something in it to work around it asking for a password to execute as it does when I double click on it and it loads into terminal asking for my password?
4. Do I have to set a path to that file to force OS X on Boot to Initalize that Unix Executable File?
Any help would be greatly appreciated.
Thanks in Advance,