Question for the Lingon Expert: Once I've completed creating a plist under Lingon, can the plist be directly applied to the user template in order for the changes to force the desired results, no matter who logs into the machine? (Side note: I understand Casper 7.2 has provisions for uploading plists now, and can the same in terms of changes made to a plist take place in the User Template under any user login?)It will allow me to create a launchd config under Lingon by directing the agent to 'launch only at login,' 'when the computer starts,' or 'as a Daemon' running in root.
Last edited by unimachead; 03-26-2010 at 01:10 PM..
Launchd can launch items and daemons by triggers and settings you set it to do. So, for example, you want a global start up script to run at start up, regardless if a user is logged in or not at the login window, you would want to create your plist (launchd item) and place it in /Library/LaunchDaemons, as those are system wide and execute at start up. If you want it to run whenever any user logs in, place it in /Library/LaunchAgents.
Now, lets you have a scenario that you want a script to run globally, to say execute a series of commands whenever a Mac client boots up, regardless if a user logs in or not, or if no user is logged in at all. The script containing your commands is in /Library/Scripts/startup.sh (for example).
This is what your plist would look like:
You would save this as com.mycompany.startup.plist for example. After you save the file to /Library/LaunchDaemons, you need to tell launchctl (launch control) to load it, permanently.
Hi
On our AIX 7.1 server we have a file named /content/development/system.tar with ownership as root.
Many people on our Unix team has sudo access and they will be able to sudo to root user.
We want to which particular user has actually created this file.
Is it possible to find that ? Please... (7 Replies)
I've done simple edits with defaults, but they usually are the parent parameter. For example changing the value of "DateCellWidthCache" =.
What if I want to change a parameter in one of the sub categories such as "MMM d, y' '",? How do I type that out at the end of my defaults write command?:
... (1 Reply)
I am trying to create Oracle user. I will install oracle after that. But my problem is /home/oracle directory is not being created.
bash-3.2# useradd -g oinstall -G dba,oper -d /home/oracle -m oracle
cp: /home/oracle: Operation not applicable
chown: /home/oracle: No such file or directory
... (3 Replies)
Well, I had to open another thread. Long story but I will keep it short. Our client organization is a multinational bio-tech giant. And as it is true with all such giants, things are kind of messy when it comes to maintaining who did what.
Now, my duty is to clean up the mess. One of the few... (1 Reply)
When I try to remove the file which was created by another user through super user, I am getting the "override protection 644 " meesage.
Could you please anyone help me how will I delete the file without prmpting the override protection.
I have also given the permission (rwx) to the group as... (3 Replies)
Is there a command or shell script which can be used for Finding all files created by a specified userid in a directory and its subdirectories.
Say, I want to find all such files in directory /abc as well as in all the subdirectories such as /abc/xyz or /abc/xyz/pqr aqnd so on which was created... (5 Replies)
I created a user, i login as a root. I add him in the group where he can access and login as a root! I checked it in users' list and in group's list, he is there. My problem is this, I cant login using the username/account I just created! What should i do to use and login the user/account i've just... (5 Replies)