Initiate logout immediately after login

Hello MacOSX users,
I'm in a situation here where I would like to force an unconditional logout immediately after a successful authenication to login. Users are authenticating against Active Directory. Using AD support already present in Snow Leopard. Have tsch script defined to run at login.
Reason I want to do this, is to deny access to our iMacs for community borrowers and visitors to our library. (iMacs are to be used only by students, staff, and faculty at our University).
I can easily identify the users that I need to block via my login shell script. Once identified, though, I don't know what to do next? How do I tell MacOSX to abort the login process and return to the login screen? In otherwords, immediately perform an "unconditional" logout?
I know I can block access by creating a number of local user accounts on each iMac computer but I'm trying to avoid having to do this. I'm looking for an easier way out. (I'm lazy :-)
Has anyone here ever attempted to do anything like this?
cheers,
Mark Ponsford

I found a fix for this.
3 things can be done:
1) Disable .NET framework 3.5 (which includes 2.0 or 3.0) and restart,if this doesnt work go to Step 2
2) Completetly uninstall and reinstall Skype, if this doesnt work then go to Step 3
3) Update the BIOS of your machine with the latest one 
Any of the above steps should work brilliantly for you 
Spoiler (Highlight to read)
Spoiler (Highlight to read)

Similar Messages

  • 7.0.0.102 Crashes immediately after login

    After updating to Skype 7 it crashes immediately after login.
    I don't have facerig or FFsplit or any webcams. Windows is updated firewall is turned off.
    The eventlogs show this:
    Faulting application name: Skype.exe, version: 7.0.0.102, time stamp: 0x54897add
    Faulting module name: Skype.exe, version: 7.0.0.102, time stamp: 0x54897add
    Exception code: 0xc0000005
    Fault offset: 0x00d527d7
    Faulting process id: 0x1e7c
    Faulting application start time: 0x01d029890c579caf
    Faulting application path: C:\Program Files (x86)\Skype\Phone\Skype.exe
    Faulting module path: C:\Program Files (x86)\Skype\Phone\Skype.exe
    Report Id: 58eb96c6-957c-11e4-aae2-00224d806fdf
    Any ideas what I can do to get it working again?
    Solved!
    Go to Solution.
    Attachments:
    DxDiag.zip ‏6 KB

    I appear to have the same problem. See below. Do we know when there might be a fix?
    Elmsteader
    Log Name:     Application
    Source:       Application Error
    Date:         27/01/2015 15:40:27
    Event ID:     1000
    Task Category: (100)
    Level:         Error
    Keywords:     Classic
    User:         N/A
    Computer:     Antec
    Description:
    Faulting application name: Skype.exe, version: 7.0.60.102, time stamp: 0x5489935b
    Faulting module name: Skype.exe, version: 7.0.60.102, time stamp: 0x5489935b
    Exception code: 0xc0000005
    Fault offset: 0x00d527d7
    Faulting process id: 0x1670
    Faulting application start time: 0x01d03a4783381172
    Faulting application path: C:\Program Files (x86)\Skype\Phone\Skype.exe
    Faulting module path: C:\Program Files (x86)\Skype\Phone\Skype.exe
    Report Id: d04f9672-a63a-11e4-84d9-00241dd94d4c
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
       <Provider Name="Application Error" />
       <EventID Qualifiers="0">1000</EventID>
       <Level>2</Level>
       <Task>100</Task>
       <Keywords>0x80000000000000</Keywords>
       <TimeCreated SystemTime="2015-01-27T15:40:27.000000000Z" />
       <EventRecordID>129636</EventRecordID>
       <Channel>Application</Channel>
       <Computer>Antec</Computer>
       <Security />
    </System>
    <EventData>
       <Data>Skype.exe</Data>
       <Data>7.0.60.102</Data>
       <Data>5489935b</Data>
       <Data>Skype.exe</Data>
       <Data>7.0.60.102</Data>
       <Data>5489935b</Data>
       <Data>c0000005</Data>
       <Data>00d527d7</Data>
       <Data>1670</Data>
       <Data>01d03a4783381172</Data>
       <Data>C:\Program Files (x86)\Skype\Phone\Skype.exe</Data>
       <Data>C:\Program Files (x86)\Skype\Phone\Skype.exe</Data>
       <Data>d04f9672-a63a-11e4-84d9-00241dd94d4c</Data>
    </EventData>
    </Event>

  • Gnome 3.2 Locks immediately after login

    I have Arch & Gnome 3.2 installed on my Thinkpad W520. On the first login after boot(Using GDM) , the screen dims and locks as if the screensaver had been activated, and I have to type in my password to unlock it. Does anyone know how to fix this, or where to start debugging?
    EDIT: Pulling in the 3.1 kernel as well as the updated xserver from [testing] seems to have fixed my issues
    EDIT2: Nope, that only worked because it broke the nvidia driver, which seems to be the cause of this issue
    Last edited by zachtib (2011-11-23 15:11:31)

    hadrons123 wrote:I don't know. Is there any particular advantage in keeping gdm?
    Nothing... it is just a quirk of mine. If i have gnome, i'd rather install gdm over lxdm. However, if lxdm is better than gdm, there's no problem by trying it. Btw, i love lxde. It's just amazing how uncomplicated it is.
    Regards,
    Jaime

  • WebDynpro expires immediately after login. After a refresh it's ok.

    Hi all,
    the following behaviour is new to us since we moved from pilot to productive operation and therefore a lot more users are working with the application.
    Our application consists of two webdynpro iViews. One in the dynamic navigation area of the portal and one in the content area. The last one is triggered via client side eventing.
    The error appears by following these steps:
    - open browser
    - login to the portal
    - navigate to the webdynpro application:
    We now can see the two iViews. No error at this time.
    - fire client side event at navigation webdynpro-iView
    Now the webdynpro iView in the content area displayes an error message:
    500   Internal Server Error
    SAP J2EE Engine/6.40
    Die Web-Dynpro-Anwendung 'UnscheduledOvertimeAppl' ist abgelaufen.
    Starten Sie die Anwendung erneut mit der Auffrischen-Option oder
    wählen Sie den folgenden Link UnscheduledOvertimeAppl.
    Details:   No details available
    Above means the webdynpro application has expired.
    By newly navigating to the application everything works fine until the end of the expiration time. It's set in the webdynpro application properties to 43200 (12 hours).
    The error is reproducable by following the sequence of steps.
    Does someone have an idea or hint to come to an solution?
    For example:
    I wonder if there is something like a session pool which is full.
    Any idea is welcome.
    Thank you and regards,
    Marcus

    First thing: use the [co[b]de] tags when posting code. There's a code button when you post.
    Exception in thread "main" java.lang.NullPointerException
    at java.awt.Font.getStringBounds(Font.java:1931)
    at java.awt.FontMetrics.getStringBounds(FontMetrics.java:488)
    at LoginSplash.equalizeButtonSizes(LoginSplash.java:275)
    at LoginSplash.initComponents(LoginSplash.java:245)
    at LoginSplash.<init>(LoginSplash.java:62)
    at LoginSplash.main(LoginSplash.java:339)The sequence of events is read from the bottom to the top of a stack trace. So your error occurs when the LoginSplash.main method calls the LoginSplash constructor (that's what <init> means) and it calls initComponents and it calls equalizeButtonSizes, etc. It is possible but unlikely that the problem is with the methods supplied from java.awt - it is more likely the problem is with your methods.
    When equalizeButtonSizes calls getStringBounds, it passes g, a reference to a Graphics object. I suspect that g is null. You can prove this by putting System.out.println(g); after "Graphics g = getGraphics();
    getGraphics() will return null if the Component is not displayable.

  • *HELP* My Macbook Retina (2013) shuts down immediately after login.

    When the computer is off, I press the power buttom and the normal white apple logo comes onto the black screen.  It prompts me to login, which I do.  Then under my username and avatar, a grey progress bar appears (the background is not grey, it is a normal, custom background, nothing out of the usual).  The progress bar makes it about 1/4 of the way through, then it stops. 
    This issue started happening right after the trackpad broke.  I've fixed it since.  I thought the trackpad was broken because I got some crumbs stuck untder the sides of the trackpad, but I attempted to clean them out and gave it a day and the trackpad is now fine.  The computer allways shuts down though.  The guest login works... but I only get safari and I can't download my homework...
    Additionally, I've tried resetting the display and doing some other sort of reset (I think it was holding down command+option+p+r or something).
    Thanks!

    Try a SMC reset....Resetting the System Management Controller (SMC) on your Mac - Apple Support
    if that doesn’t help Try NVRAM reset..How to Reset NVRAM on your Mac - Apple Support
    If that doesn’t help either then the last option according to me would be trying to start it in Safe mode.....OS X Yosemite: Start up in safe mode
    Hope this helps....

  • OS X Mountain Lion crashes immediately after login and reboots.

    Help please.

    HI,
    Yesterday there was an outage with both FaceTime and iMessages at the server end.
    Has it been working up until then ?
    9:15 PM      Monday; November 19, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Pages don't load if I try to open them immediately after login

    I have had this problem for a while, probably since before FF 24.
    Steps to reproduce:
    1. Open Firefox.
    2. Close my macbook (locks screen).
    3 Open macbook and log in.
    4. Go back to Firefox.
    5. Open a new tab.
    6. Click a bookmark.
    What happens is the new tab will not load the page. I have noticed that if I wait a certain amount of time, say ten seconds, and then hit the bookmark, it loads fine. However, if I load the bookmark too early, it somehow can't load the website. Here's the weird thing. I close the tab, and open a new one, and load that page, and it STILL won't load.
    My theory is that the network isn't quite in a good state to perform http connections when I first try to load a website. But Firefox is keeping track of open connections, so it won't let me make a NEW connection to the website again until the original request times out. So I am forced to wait for maybe 30 seconds until the site times out. Note that within a few seconds of trying to load the first site, other sites will load fine, but that original site will not load until the first request times out.

    Hi skykelsey,
    A great way to check is to check the option in Preferences > Advanced > Network > How Firefox connects to the internet. You can auto detect a proxy or use the proxy configuration on the computer.
    If you can, please also try this on another network to see if it really is network specific. Anytime you wait for 30 seconds, please do not be afraid to use that x or reload button in the url bar. This way you can force the time out.
    If this continues to happen, please file a bug with this information as well as the steps you have already reproduced and used in you question:
    # Open up a web console and load the bookmark and the page. Take note of the times that you do each step and copy and pase the http traffic in the log and add it to the bug.
    [https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox]
    If you need more help, please start a new question with the bug number. :-)

  • Remote webapp freezes immediately after login in Server 2012 R2

    Used the wizard and setup made a RDS deployment.  2 session hosts 1 server for Connction broker and License  and one server for Gateway and web access.
    Regular remote desktop works fine.  Even through the web interface.
    I just published Calc.  When I try to access it and show the details, it logs on the then freezes at "Preparing Windows".  Then the window will time out and close.
    I am unable to find anything in the event viewer regarding this.
    Anybody have some suggestions?

    Hi,
    How is everything going on? 
    Firstly I would like to know, which version of RDP client you are using in your environment. I suggest to use RDP 8.0 or 8.1 for better feature and also the user must always use Domain\Username whenever logging to RDWeb App. 
    You can try to change the path of RemoteApp as per this
    thread (Answered by phil). Also try to make default logon domain for RD Web, get more information from
    this thread.
    Hope it helps!
    Thanks,
    Dharmesh

  • My MacBook Pro shuts down almost immediately after login.

    I just installed my banks security software, Rapport, and an Adobe flash update. Does anyone know why it's shutting down, and have any hints on how to solve the problem please?
    I don't even get time to see what programs might be running. Is there a way to start up in safe mode.

    nigelneedsanswers,
    yes, there’s a way to start in Safe mode.

  • Skype closes immediately after login on iPad first...

    Have uninstalled and reinstalled Skype several times to no avail

    Do you have subscribed calendars? Such as a holiday calendar? I know for many folks Easter Monday is the culpret.
    Another way to try and fix it, if you haven't updated your iPad to iOS 6.0.2 do it. Because that has a bug fix, but unfortunately it's only for iPad 2+ since iPad 1's can't take the update.

  • Blank Screen after Login

    I am having an issue with an iMac that has OS X 10.5.8 installed.
    Immediately after login I get a blank wallpapered screen (wallpaper is the same as wallpaper at login) w\ cursor. ...It never goes into the desktop where there is a taskbar and desktop icons. This started happening to a couple of my desktops after I installed ESET NOD32 4.0.12 for Mac (AntiVirus).
    Has anyone else seen this issue or know of a fix.

    You will have to see if you can start the computer via other means,
    in that if you can start in SafeBoot mode, you may be able to be rid
    of that anti-virus software. That likely is the problem's main cause.
    SafeBoot mode: restart, hold Shift key, until you get log-in screen;
    login to get to desktop. From here, you can do a few things, but the
    computer is not running at full system usefulness. You may be able
    to remove this AV software, or see if it has an Uninstaller; and also
    you can repair disk permissions in Disk Utility. Among other tasks.
    When done, restart normally. (You could also boot from install disc
    and use the menu options to run Disk Utility, and other jobs.)
    If the product did not come with an Uninstaller in its software, you
    may have to try & remove it by other means. These things will put
    more into the computer's OS than just an item in the Utilities or
    Applications folder; so an Uninstaller is likely a necessity. There
    are a few shareware and free ware uninstallers, such as AppDelete
    available online as downloads. If you can't find an Uninstaller in the
    software you installed (may be in the app's folder in Mac) you may
    have to contact the products customer support and ask how you
    are to remove the entire product and its parts from your Mac.
    If you are lucky, they may actually know where you could go in and
    carefully remove those bits; and luckier still, if there is an uninstaller.
    Good luck & happy computing!

  • Auto refresh Portal after Login

    Hi All,
    I need to refresh the Portal page immediately after login to load some content.
    How to add page refresh code and where to add?
    Probably that will happen in the masthead file but exactly what javascript i need to add.
    Thanks ,
    Amarys.

    Hi Amarys,
    java script part is pretty simple.
    Referesh()
    window.top.location.href="/irj/portal";
    The second part about where to place this will be tricky, as you may end up in infinite loop of Refresh.
    One possible solution is to write your logon module and set a flag when the login is successful. Read this flag in one of the Portal component (Say Masthead), Refresh the Portal and clear the flag.
    By the way why do you need this. If you can elaborate on what exactly you want to achieve, may be someone can suggest a better approach.
    Thanks
    Prashant

  • Outlook 2010 RPC over HTTP to Exchange 2003 users remain disconnected after login

    Greetings Guys,
    I am unable to find a solution, Windows 2003 DC, Exchange 2003, all user were working great, RPC over HTTP, until Tuesday at about the same time perhaps before the MS update  KB3002657
    all remote users using outlook 2010 did not have authentication popups as was noted from this KB. But instead all login successfully, ( looking at  the security logs in the exchange) , but all are remaining disconnected, immediately after login.
    The users had already been configured with the registry DefConnectOpts RPC key, so I doubt their Outlook profiles are the problem.
    I suspect the DC's ( we have 2 ) or the exchange have picked up an issue. I am out of ideas.
    Any help would be awesome
    Barry

    Hi,
    According to your description, I understand that Outlook(Outlook Anywhere) client display disconnected after install MS update KB3002657.
    If I misunderstand your concern, please do not hesitate to let me know.
    KB3002657 is a security update to prevent attacker logging on to a domain-joined system and being able to monitor network traffic. More details about this update, please refer to:
    https://technet.microsoft.com/library/security/ms15-027
    For your question, please try to reconfigure a Outlook profile for testing.
    If it works, you can try to below steps to pop sign in page in Outlook client:
    1. Open Outlook---> File and click “Account setting”, then select account name and click “Change”.
    2. Click “More settings”, switch “Security” and check “Always Prompt for logon credentials”。
    3. Restart Outlook to login your account.
    Once this done, you can uncheck this setting for convenience.
    Besides, I find an similar thread about your question, for your reference:
    https://social.technet.microsoft.com/Forums/exchange/en-US/7199811f-ee41-4b81-aafe-698bdb5a0b49/recently-outlook-cannot-auth-username-and-password?forum=exchangesvrclients
    Thanks
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Allen Wang
    TechNet Community Support

  • User logout event bundle running shortly after login

    I have created two bundles that run on User Login and User Logout events. The login one works fine, and so does the logout one but at the incorrect time. On average the logout event bundle is fired about 40-60 seconds after login, whilst still logged in.
    I tried modifying the bundle to trigger on Zen Logout instead but the same thing happens.
    I have another two similar bundles that do the same, but for Administrator accounts rather than DLU+roaming profile accounts. The logout event also triggers while the user is still logged in.
    On both user types when I actually logout no further triggering of the bundle takes place.
    Can something else trigger this event other than a desktop logout? This is using ZCM client 11.0.0.41501.

    My guess is that it tries to run at logout, but cannot complete and then
    finishes at logon.
    Simply put, Setting an action at logout is rarely a good option since
    ZCM cannot control the logout/shutdown process.
    Anything with such a setting needs to be able to complete almost
    instantaneously.
    On 4/26/2012 11:46 AM, OakFND wrote:
    >
    > Hi there,
    >
    > Does anyone have a solution? I have the same issue with a bundle that
    > runs GroupWise 8 installation latest version. We run Zen 11.1 and it
    > happens on 3 pcs (2xXP SP3/1xW7 SP1 Start).
    >
    > Here is the log:
    > https://skydrive.live.com/redir.aspx...NvxC_xhJrEENMc
    >
    > Thank you for your advice.
    > OAKFND
    >
    > ZENworks Adaptive Agent Version: 11.1.0.12959
    >
    > Bundle Management 11.1.0.13643 Running
    > Image Management 11.1.0.10525 Running
    > Inventory Management 11.1.0.10525 Running
    > Policy Management 11.1.0.10525 Running
    > Remote Management 11.1.0.10525 Running
    > User Management 11.1.0.10447 Running
    >
    >
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Knowledge Partner
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.

  • Menu tabs disappear completely after login and appears if only i press on item node at hire level

    I'm using a Menu Model to Create a Page Hierarchy in my adf application on Jdeveloper 11.1.2.3.0
    it is in three levels level 1 have 2 item nods (home - Help) displayed as buttons
                                level 2   contains 5 item nods about the managements displayed as tabs
                                level 3   is about reports displayed as list
    the point I have apply security in the application using Adf security wizard and i assign roles and users and grants
    all works fine but level 2 tabs disappear completely after login and appears if only i press on Home item node at run time
    I create 2 users (admin) has all roles  and can view all  tabs in level 2 of my navigation and another user (emp)  which can view one Tab page in level 2
    Point 1 --the item nod are rendered according the #{securityContext.regionViewable['oracle.view.pageDefs.RentManagPageDef']}     (EL ) expression language 
    and other item nod render property are set as the same but in the page name definition
    it works fine
    _ Point 2 in my page template I set #{menuInfo.rendered} for renderd property of the command navigation item
    it works fine
    - point 3 I add a  go link in my template to explicit perform log in log out from the app  and redirect the user to the required page
    Destination is
    #{securityContext.authenticated ? "/adfAuthentication?logout=true&end_url=/faces/wearhouse.jsf"  : "/adfAuthentication?success_url=/faces/company.jsf"}
    and its also works fine
    the problem is in the level 2 navigation tabs which is diaper after explicit log in the app directs the user to the correct page successfully
    But the tabs are not rendered till I press on home button on Level 1 navigation it appears and it appears  correctly cording the logged in user validation
    in another words i log in as user (admin) i get directed to the successful log in page  in the link go but  level 2 tabs are invisible or not rendered at all    I click on Home button in level1 navigation the tabs
    become rendered or viewable and i navigate normally
    I log out as admin the level 2 tabs becomes invisible again
    then I log in as (emp)  i get directed to the successful log in page and  level 2 tabs are still  invisible or not rendered
    I click on Home button in level1 navigation the only one tab the user emp authorized to it  gets rendered (appears)
    and its semi correct behavior because this is what I want him to see only
    my tries to find solution
    I tride to use
    #{securityContext.userInRole['division']}
    on the menu node item   I found same behavior level 2 tabs gets hidden till i click on home link at run time
    I tride to use #{securityContext.authenticated} to control item nods rending
    all tabs remains visible and i dont want that ain adition if user clicks on a tab of page he has no authority on it i recive server error
    I read 30.7 Creating a Login Page in the  Fusion Developer's Guide for Oracle Application Development Framework to finde about redirecting user
    and it is using the same as i did from adf tutorials
    I tried to make new navigation app on fast
    maybe i made incorrect change in any stage of my original app
    but I found same behavior
    I tried to set disabled property instead of rendered property the tabs are always rendered   but I got server error when I click on a tab which a user does not authorized
    So I doubt maybe problem in the El or the way I use to control rendering item node
    or there additional step to stop all  the tabs disappear after login
    I hope please some one Help or tell me what i have to read about in the developer guide  or interface developer guide or article on the web
    I'll be gratfule
    I know maybe it is small issue but help me please

    Hi,
    have a look at the sample that comes with this article: Oracle ADF: Security for Everyone It uses resource remissions to authorize panel tabs.
    One test to run is to print the outcome of the security evaluation (e.g. output text) to see what it returns.
    Frank

Maybe you are looking for

  • How to read the data in spectrum analyzer (Anritsu MS2661C) and put it in Excel using Labview

    Hi all, I'm new to using the labview, and I have some trouble doing my project using the labview software. I have been trying to use the spectrum analyzer (Anritsu MS2661C) which connect to computer using the GPIB connection. I have got the instrumen

  • How to Test if an Email Address Exists?

    So we have all been doing email address validation for awhile which I know how to do, but validation only tests if an email address is entered in the right format.  It doesn't verify if an email address actually exists.  I am creating an application 

  • Creating Content Repositories

    Hi All, We have installed Apache web server, Content Server and MaxDB on HP Unix system. further while creating content repositories in OAC0 the document area "Document Management System" is not getting selected. Looking for help on this issue. Thank

  • Hide called number when calling is tranfered to called

    Hi, My client is asking for a feature he had before on ist old Alactel PBX and can't find it in the service parameters. Actually when someone call the helpdesk number at night, the help desk transfer him to the mobile of the in charge person, the iss

  • Lost-how do you install x-fi driver for arch 32bit

    k,  i have tried installing the linux x-fi driver for my sound card... but im sorta having trouble installing the driver. i sorta find the instructions arch wiki to install the driver confusing... how do you install it? im really lost, and im very ne