How can I restrict Lion to only allow certain network users to login when bound to an Active Directory?

Hi,
I'm trying to find a way to configure which network users can login to a lab of iMacs running 10.7.4. They're being deployed using DeployStudio, and the Macs are bound to an MS Active Directory by a script that runs as part of the workflow. I'd like to have another script run after the AD binding to permit only users in certain AD groups to be able login to them.
I'm halfway there, in that using dseditgroup I can easily add AD groups or individual users to the relevant group (deseditgroup -o edit -a <domain\\group name> -t group com.apple.loginwindow.netaccounts. After running this I can see the desired groups added to the list in Sys Prefs -> Users & Groups -> Login Options -> Options. However, membership of this group is deemed irrelevant by the fact the radio button above this list for 'Allow these users to log in at login window' is still set to 'All network users' and not 'Only these network users'.
Does anyone know of a way to enable the 'Only these network users' option via the Terminal/a shell script?
Thanks,
Chris

I tried that, thinking it was exactly what I wanted, but it still sends stuff as SMS (green bubble).

Similar Messages

  • How can I make my computer only recognize my network and not that of one of my neighbors?

    How can I make my computer only recognize my network and not that of one of my neighbors? This is for when I am at home, and everytime the computer goes to sleep it essentially loses the connection, only to pick up my neighbors network when it is awaken.
    I am on Comcast (Xfinity) Highspeed Cable wireless modem/router
    Thanks in advance!
    Mark

    You can make your network the preferred network.
     > System Preferences... > Network > Advanced... > Drag your preferred network name to the top of the list.

  • I upgraded from Leopard to Snow Leopard to go to Lion. I went form 10.3.5 to 10.6.2 then upgraded to 10.6.8 and am now being told I need 10.7 to download Lion. My software is up to date so how can I get Lion? It also tells me I need 2gb when I have more!

    I have been trying to upgrade to OS Lion but am unable to as it requires 10.7  I have 10.6.8 and this is the latest upgrade I can get. How can I upgrade to Lion?
    I have all the other requriements, except 10.7. How do I get that?

    I just re-checked and I dont have enough ram from the outset. So the first thing I need to do is get that installed.
    If you know how I can delete this thread to stop wasting people's time, let me know.
    Sorry guys, it's back to the drawing board for me.

  • How can we Restrict the Drill Down upto certain levels

    Hi Friends,
    We have the Date Hierarchy with the following Levels,
    Year-> Semester -> Qaurter -> Month -> Week -> Day
    Our requirement is Wehen we run the Report, User would able to drill from From year- > Semester -> Quarter,We need to prevent drill down from Month to date.
    Thanks
    Laxman

    One way is to create a role and restrict access through it
    see
    http://cwebbbi.wordpress.com/2011/06/22/denying-access-to-an-entire-level-with-dimension-security/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How can I restrict options result to only one cost center?

    In transaction KS03 (Display cost Center), when I search for a cost center (hit F4), I have an option to drill down by Company code, controlling area, Cost Center Category, Person Responsible etc.
    My question is, how can I restrict users to select only controlling area they are authorized for ? Is there any authorization object I can use to restrict user's access to particular value in the table CSKS ?
    Thanks,
    Karan.

    Hi Karan,
    If you want to restrict on the values users can return when using F4 lookup then there may be some useful info in the following link:
    Authorization object for capacity planning CM03

  • How can I restrict certain apps to cellular data only?

    Product Name: iPhone 6
    Product iOS: 8.3
    Background: I listen to Pandora at work through my iPhone 6. My work has pandora traffic blocked through their WiFi network. I want to keep my iPhone connected to the work WiFi because 1) I don't want to turn on and off my WiFi on my phone 2) I want to my email and other apps to use WiFi since they are not blocked.
    Current Workarounds (not a solutions):
    1) Turn off and on WiFi on iPhone 6- This is a pain/hassle and I forget to turn the WiFi back on.
    2) Switching to a different streaming music providers that aren't blocked by work WiFi- I pay for Pandora One and I like this service the best. I really don't want to switch.
    3) Download music to iPhone memory- I pay for Pandora One and I'd like to use it.
    4) Jailbreak- Not sure if this a solution but I'd rather not jailbreak my device.
    Question: How can I restrict certain apps (Pandora) to use cellular data only?
    Best Regards,
    Chasen

    The network settings in iOS are global and do not support assigning specific networks to specific apps. You cannot do what you describe.

  • How can I restrict the usage of a iPhone 5c?  I would only like my daughter to be able to use her phone between 7am and 10pm central.  Any ideas how to do this or an app to use?

    How can I restrict the usage of a iPhone 5c?  I would only like my daughter to be able to use her phone between 7am and 10pm central.  Any ideas how to do this or an app to use?

    Hi! i believe there is no preinstalled app than can do that for you, however you can use a third party software, such as this: http://www.bitworks-engineering.co.uk/Apps/TimeLock_App/Welcome.html or this https://itunes.apple.com/us/app/parental-timelock-time-limit/id689577280?mt=8

  • How can i restrict user through material group

    Dear Guru's
    We have two business process CDMA and GSM
    Two purchase organisations, different document types and  different material groups
    our user  is procuring a materials for CDMA using GSM materials codes.
    How can i restrict him.if he selects GSM purchase organisation he should procure only for GSM using GSM materials codes.
    IS it possible to restrict  through material groups
    Regards
    subhash

    Hi Ha Tran,
    Thanks for your suggestion.
    But the problem is that we have two business CDMA and GSM business.
    The enitity and reporting will be in the same company code.
    So we came up with two purchasing organisation because the first purchase organisation was already assigned to company code.
    and the business want different material groups for difeerent business.
    Ex: one material   100000000  DESC : Switching  with material group  NWTR
    the same material  with different number 1000000001 Desc: Switching  material group : GNWTR
    Now the user while  creating purchase order for GSM ,he is using CDMA material.
    I want to restict the users that if he selects document type and purchasing organisation of GSM. System should allow only GSM materials.
    Regards
    Subhash

  • How can we restrict Key Figure in the BI System

    Hi All,
    Can any one explain How can i restrict key figures in BI system.
    So when i create a query a specific user  can only execute it if a specific key figure is a part of query otherwise he is not allowed to execute a query.
    For Example:
    A user TEST123 is allowed to execute a query with keyfigure Quantity he is not allowed to execute the query if any other key figure is present in the query
    Regards,
    Deepak

    Hay Diogo,
    Bravo...
    Your suggetions always work for me. The scenario was that
    A user TEST_PLD08 should only allow to see output for the querys which consist of the keyfigure PLDQUACMP and not for other keyfigures while other user TEST_PLD07 is allowed to see the output for  querys consist of any of the keyfiguers.
    so I have assign a authorization profile  PLD_TEST07 to the user TEST_PLD08 with KeyFigures authorization as mentioned below and it is working fine
    I     EQ     :
    I     EQ     PLDQUACMP
    You can forward me more scenarios like this if you can think of more it will be really helpful for me
    Regards,
    Deepak

  • How can i restrict the change of serial number in delivery document ?

    how can i restrict the manual change of serial number in delivery document ?

    I can tell you that you are observing standard program behavior.       
    By using a reference document for a return delivery, you are only      
    receiving proposal values for a new document. The posting will not     
    create a permanent link between the referred document and the return   
    delivery document.                                                                               
    Hence it is allowed to change various fields. This applies not only    
    to serial numbers, but to storage location, quantity and other fields.

  • How can I restrict maintaining the same customer for different CC Areas?

    Hi All,
    I have a problem about maintaining customer credit limits via tcode FD32.
    User can maintain a customer in different credit control areas (CCA) and these CCAs are belong to different company codes.
    How can i restrict the user not to update another countries' credit limit?
    Your fast reply will be highly appreciated.
    Regards,
    Bilal

    Hi,
    I donu2019t think so there is any configuration for this kind of purpose.
    You can only do by the authorisation.
    Just give the user authorisation that only this person can change the value of the credit control area.
    And I think so that will be usefull also because if every body has authority then any body can change the limit which is not good.
    First they have to take permission from the authorised person and if he approved then only he should change limits.
    So just try out the user authorisation for your purpose.
    Regards
    Raj.

  • How can i restrict the Expenditure Type values at a specific OU ?

    Dear Guys,
    I would like to ask about the Expenditure Types,
    I have implemented two projects for different Operating Units ,
    when navigating to any Projects responsibilty,and navigating the Expenditure Type field
    the values exist are all the values implemented across the OU not the values entered at this OU
    How can i restrict the Expenditure Type values at a specific OU
    Regards
    Amr Hussien

    Hello
    When you set up a project there is an option called Transaction Control.
    This option allow you to list the allowed or restricted elements of costs for the project.
    You may enter the transaction control on a project template and that will be copied to any new project.
    The cost elements may be expenditure types, expenditures categories, suppliers, employees, etc.
    In your case, I suggest to set up specific project templates for each operating units. On each template enter the list of allowed expenditures types for that OU.
    Doing so, the system restricts users from entering any expenditure item, supplier invoice, purchase cost etc, against an expenditure type, which is not allowed.
    Dina

  • How can i restrict user to access database object (procedure) or JSP

    Hi
    I have 9ias infrastructure 902, on win2k box with 9i DB.
    and I have one PL/SQL web application and another J2EE application both are hosted by 9ias 902.
    Now we are looking forward to couple both with SSO.
    I have deloyed samples of both and works fine.
    Each application have different set of users, i mean there is no common user.
    How can i restrict user not to view the web page which is not authorised to them.
    as far as i understand from the Grocery demo is pick the role (which is a string only) from OID and programaticall apply security via if else endif construct.
    can any one through light upto my concern.
    regards
    [email protected]

    Hey Mary
    No i haven't try to do that via pl/sql....
    as the our application is j2ee app... deployed in oc4j.. with sso and ldap....
    still finding to do so....
    what i have realized that LDAP is just to store user information in inverted tree... and one have to build separated access security mechnisum that will be applicable to j2ee system....
    thanx...
    samir....

  • How can I virtualize Lion if I bought a new Mac with Lion preinstalled?

    Hi folks. I read that you were allowed to virtualize 1 instance of Lion after purchasing Lion.  How can I virtualize Lion if I don't have any install media with one of the new macs?

    If you bought on of the new MacBook Airs or Mac Minis, you will have a short term problem as the you will not be able to download a fresh copy of the Installer. See my post here.
    This problem should go away soon probably with 10.7.1
    If onthe other hand you bought one of the oleder models and it came with Lion, then you can download another copy of the installer by:
    Open the App store.
    Hold down the option key while selecting "purchased"
    Lion should now say "Install" rather than "Installed".
    Click install to download a new copy of the Installer.
    As soona s th installer automoatically opens after doqnloading, quit it
    Save a copy of the installer from Applications.
    Steve

  • How can I restrict the total no. of recs. per physical page

    Hi !
    I have created a report and I am saving that in a text file. The
    problem is that when I try to take the output on the printer
    then the total no of records overflows to the next pages and the
    next page heading comes much below to it's designated place.
    Max.no of records property in the repaeting frame is for the
    logical page.
    How can I restrict the max. number of records per physical page ?
    Any pointer will be welcome,
    Thanks in advance,
    Shobhit
    null

    Just for fun (and in case this wasn't done to death in the other thread), the rule posted here states:
    Most years have 365 days, but a leap year has 366 days. That adds up to 52 weeks (where each week is exactly 7 days) PLUS 1 or 2 additional days. The year 2012 has exactly 366 days.Now if the year starts on a Sunday in a non-leap year, you end up with 53 Sundays. Or if either of the first two days lands on a Sunday during a leap year, then you can also get 53 Sundays.>
    which allows a calculation like this:
    with test_data as
         ( select rownum + 1999 as test_year from dual
           connect by rownum <= 15 )
    select test_year
         , case
              when first_day = 'SUN'
              or ( first_day = 'SAT' and leap_year = 'Y' )
                 then 53
              else 52
           end as sundays
    from   ( select test_year
                  , to_char(to_date(d.test_year||'-01-01','YYYY-MM-DD'),'DY', 'NLS_DATE_LANGUAGE=ENGLISH') first_day
                  , case extract(day from last_day(to_date(d.test_year||'-02','YYYY-MM'))) when 29 then 'Y' else 'N' end as leap_year
             from   test_data d );
    TEST_YEAR    SUNDAYS
          2000         53
          2001         52
          2002         52
          2003         52
          2004         52
          2005         52
          2006         53
          2007         52
          2008         52
          2009         52
          2010         52
          2011         52
          2012         53
          2013         52
          2014         52
    15 rows selected.

Maybe you are looking for

  • Bought apps/music, then iphone broke

    I spent money on songs and apps on my iphone, purchased and cleared through itunes and then my phone crashed. Apple replaced it (they were wonderful) and I had it backed up but only until the day before I bought the music/apps I'm missing. Is there a

  • Airport Extreme emitting flickering sound when Airplaying...is this normal?

    Hi all...I just got my ATV2 over the weekend...and am really excited over it. It was really an experience airplaying. Yesterday, I realised while my ATV2 is airplaying, my Airport Extreme (which is the connecting modem) emits a flickering sound...lik

  • Need to find process chain from event

    Dear Experts, I need to find out all process chains which are getting triggered by a certain event. ( I have an event name , need to find corresponding process chain ). Kindly suggest. Regards Vaibhav Halde

  • Workflow question:  XML or DOCX?

    Good day, I have been tasked with creating a catalog (about 100 pages).  My knowledge of Indesign is above basic, but I might be alittle over my head and I am looking for some guidance.  I have created a database for user input to help me create this

  • Learning material for SD

    Hi Can anyone let me know where I can get learning material on SAP SD? Can we download it from the portal for free?? Any assistance will be rewarded. Thanks in advance. Louis