MacResource
MacOS: How to get login item to load without having to login? - Printable Version

+- MacResource (https://forums.macresource.com)
+-- Forum: My Category (https://forums.macresource.com/forumdisplay.php?fid=1)
+--- Forum: Tips and Deals (https://forums.macresource.com/forumdisplay.php?fid=3)
+--- Thread: MacOS: How to get login item to load without having to login? (/showthread.php?tid=232244)



MacOS: How to get login item to load without having to login? - pinkoos - 09-13-2019

Hi,

I want one program to load on my Mac whenever it restarts, without me having to login first - is this possible?

I know I can turn myself on for automatic login and then it will work, but my Mac is shared with my kids and so I don't want automatic login on

There must be some terminal command or something that could possibly allow this, right?

Thanks in advance


Re: MacOS: How to get login item to load without having to login? - raz - 09-13-2019

look up launchd


Re: MacOS: How to get login item to load without having to login? - decay - 09-13-2019

raz wrote:
look up launchd

https://www.launchd.info/


Re: MacOS: How to get login item to load without having to login? - JoeH - 09-13-2019

And you would use the launchctl command to start, stop or restart the program from the Terminal command line.


Re: MacOS: How to get login item to load without having to login? - Paul F. - 09-13-2019

Yeah... what they said...
You're not looking for a login item, you're looking for a startup item.

Some things will run on startup without the GUI, others choke and have to run under a user account.

But, regardless, you want to research launchd, launchctl, and startup items.


Re: MacOS: How to get login item to load without having to login? - pinkoos - 09-14-2019

Thanks for the replies, I'll check out the links