Skip to main content

open -b com.apple.systempreferences /System/Library/PreferencePanes/ParentalControls.prefpane
When I run this script in the terminal it is entering in to a parental control .
like that way i want to open a users & groups in that i want Loginitems is their any script to open directly this loginitems?

I don't fully understand why you want to help users opening the Login items.
If you goal is to help (or manage) users to open specific apps/files I suggest to look at the tools outset and dockutil. They work great in combination.

I am a supporter to help users finding app's (by filling the Dock) but I am no fan to manage users to auto-start some apps.
Or is a loginhook what you are looking for? I strongly suggest to use it only for background tasks, not for starting Apps.


try >sudo open -b com.apple.systempreferences /System/Library/PreferencePanes/Accounts.prefPane