+ Post New Thread
Results 1 to 6 of 6
Mac Thread, Prevent multiple logins in Technical; Our Macs are setup with the usual golden triangle logins.One thing I would like to do but haven't found a ...
  1. #1
    Sheridan's Avatar
    Join Date
    Oct 2010
    Posts
    1,349
    Thank Post
    123
    Thanked 95 Times in 65 Posts
    Rep Power
    29

    Prevent multiple logins

    Our Macs are setup with the usual golden triangle logins.One thing I would like to do but haven't found a way to yet, is to stop users logging on to more than Mac at a time.

    I know theres an option in WGM where you can uncheck 'Allow simultaneous login on managed computers' but I'd have to do this for all of our users indivudually when I would ideally like to do it by group.

    Is there anyway of doing this? I did it with our windows machines using scripts but I'm not sure how to go about that with the macs.

  2. #2

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,191
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    If these are windows users then I'm not sure how you would do this for each user anyway as it won't be able to save the setting. After checking my my account just after refreshing the changes made, the the checkbox is just re-ticked.

    If you are changing the setting for OD users you should be able to select multiple users and then toggling the setting like that.

    In theory if the setting is just a plist file you may be able to push it out via WGM as a managed preference. Seeing as it is in the accounts section though, this may not be possible.

  3. #3
    Sheridan's Avatar
    Join Date
    Oct 2010
    Posts
    1,349
    Thank Post
    123
    Thanked 95 Times in 65 Posts
    Rep Power
    29
    Yes these are AD users organised into OD groups for deploying preferences.

    I can see the setting at a user level. I didn't realise it would reset so maybe this is a non-starter

  4. #4

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,191
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    There may be other ways. A defaults write a plist file/augmented record. The info may sit in the Schema though which would be the reason the info is reset afterwards on refresh. A possible AD schema extension (if you can find the right bit to hold this data) may be possible too?

  5. #5
    Sheridan's Avatar
    Join Date
    Oct 2010
    Posts
    1,349
    Thank Post
    123
    Thanked 95 Times in 65 Posts
    Rep Power
    29
    The only other way I was thinking was if the user ran a login script which created/checked for a file in their home folder. If the file exists, log them off otherwise create it. I haven't got a clue how to do that in osx, but its roughly what I did for the windows PCs

  6. #6

    Join Date
    Jan 2007
    Location
    The Console
    Posts
    236
    Thank Post
    22
    Thanked 29 Times in 23 Posts
    Rep Power
    22
    I don't think you can do this. We had it running when we were running Open Directory, as that did the authentication and you ticked the box in WGM and it just worked. Since we moved to AD you have the Windows machine doing the authentication things start to get....well, they don't work.

    You could create a login hook that creates or copies a file called 'user' in their home folder. If that file already exists it logs the user out. You'd then have a logout hook that rm's the file on clean log out. However this will be annoying of the machine crashes and there isn't a clean log out for the user as it won't let them log in at all (similar to Firefox not exiting properly!).

SHARE:
+ Post New Thread

Similar Threads

  1. My script to prevent multiple logins
    By flexyjerkov in forum Windows
    Replies: 18
    Last Post: 26th June 2012, 02:35 PM
  2. Multiple Logins
    By jgcracknell in forum Windows Server 2008 R2
    Replies: 5
    Last Post: 7th March 2011, 11:09 PM
  3. Multiple Simultaneous Login
    By cgiuk in forum Windows
    Replies: 2
    Last Post: 1st July 2009, 10:45 AM
  4. Prevent simultaneous logins and more ...
    By FAA in forum Windows Vista
    Replies: 0
    Last Post: 8th September 2008, 10:48 AM
  5. Prevent Simultaneous Login
    By ctbjs in forum How do you do....it?
    Replies: 2
    Last Post: 22nd January 2008, 08:20 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •