Skip to main content
Question

adding Login Items


Forum|alt.badge.img+10

Folks,

I'm sure there is a quickie for this. I was thinking MCX but though maybe keep it simpler with a script that runs once at deployment.
Maybe there is a new button in the JSS I am missing??
Running ver 8 of jss

Need to add a login item, not hidden, of an app from /Applications which I am going to install via JSS Policy.

Thanks and happy Friday!!

-P@

6 replies

Forum|alt.badge.img+24
  • Valued Contributor
  • 1892 replies
  • April 8, 2011

Loginwindow MCX. Should be in the template. I have an example for GrowlHelper if you want it.

j
--
Jared F. Nichols
Desktop Engineer, Client Services
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436


Forum|alt.badge.img+24
  • Valued Contributor
  • 1892 replies
  • April 8, 2011

Screenshots attached. Now that I think about it, I had to manually figure this one out. Wasn't too bad.

j
--
Jared F. Nichols
Desktop Engineer, Client Services
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436

![external image link](attachments/76a57e6b394940a3ba57a38913904ef7)
![external image link](attachments/19a60b0fd190473a8e0a1dc3b2a9b825)


  • 0 replies
  • April 8, 2011

That someone was me. The problem with using MCX is that you can't just modify what's already there; you have to replace it. Here's the script again; it will most likely do what you need.


talkingmoose
Forum|alt.badge.img+36
  • Community Manager
  • 1900 replies
  • April 8, 2011

A while ago I had a need to add something to each user's login items and
On 4/8/11 11:48 AM, "Urban, Benjamin Mark" <BUrban at imf.org> wrote:
managed to do it without tromping on their existing login items. My login
item was to simply mount a volume at login but these are my settings:

Apply Setting To: User Level Enforced
Domain: ~/Library/Preferences/loginwindow
Key: AutoLaunchedApplicationDictionary-raw
Value:

<array> <dict> <key>AuthenticateAsLoginUserShortName</key> <true/> <key>Hide</key> <false/> <key>URL</key> <string>afp://stp1pfx01.adminsys.mrll.com/MCS_Comp</string> </dict>
</array>

Not sure what difference it makes but I see my key ends with '-raw' rather
than '-managed'.

However, before using MCX to modify login items for users I'd suggest
using a launchd LaunchAgent. It requires deployment as opposed to setup in
the JSS but it works well.

--

William Smith
Technical Analyst
Merrill Communications LLC
(651) 632-1492


  • 0 replies
  • April 8, 2011

My script takes care of that globally, without having to do anything per-user. Just run it once on the computer, and it's done for all users. I'm not sure what you'd need to pass to it to have it mount a network volume, but my guess would be the URL of the volume.


Forum|alt.badge.img+10
  • Author
  • Contributor
  • 118 replies
  • April 9, 2011

Nice one!!!

Thanks!!!

-P@


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings