Auto-login then Fast User Switch out?

I've got a few programs (e.g. Chronosync) that need to launch as a user upon login. I need these to launch at boot time. Of course, I could auto-login to this account, but that would leave the machine sitting there with an admin account logged in (something I'd rather not do).
Is there any way I could do something like auto-login to this acct at boot and then do an immediate FUS out to the login window?
Craig

One way to do this is with Automator:
1) Launch Automator. Make a new custom workflow.
2) Choose the "run shell script" action. Paste this text into the box:
/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend (all that should be on one line)
3) Save the workflow as an application.
4) Go to System Preferences -> Accounts -> your account -> Login items. Make your Automator app a login item.

Similar Messages

  • Slow Login, Slow "Fast User Switching"

    Hi--I have a Core Duo, Intel iMac running Leopard 10.5.2. The initial log-in is very slow (several minutes) for any user--whether it's the initial boot up or switching users using "fast user switching." But all seems to work well once the login completes. After a user, or multiple users, rather, are logged in the first time, fast user switching works normally.
    Also, if two or more users are logged in, and a user logs out, it takes forever for one of the other logged-in users to log back in.
    I've tried turning off fast user switching and rebooting; I've disconnected all USB devices; I've repaired permissions; I've rebuilt the directory structure using Disk Warrior 4.1; I've created new accounts (the problem is identical in all accounts); but theses measures didn't work. I know previous versions had issues with font caches, but I'm not sure how to delete these in Leopard. Anyway--anyone else encounter this problem? Thanks!

    Well, I did an "Erase and Install"--and THAT didn't get rid of my problem... Well, I SHOULD say it did--for the first boot-up into the new system worked flawlessly, but I courageously and foolhardily chose to "Transfer" my files and settings from my backup disk. Voila, the the problem of the "blue screen of death" (not really death, just long delay) was restored, along with all my data. So I did another "Erase and Install," and this time only manually restored my user accounts--and I'm happy to report: ALL IS WELL....
    I'm thinking that the troublesome application that was conflicting with Leopard was the "Boot Picker" pane that I had trouble disabling or deleting from the previous installation of Tiger. I do have a Windows partition, but apparently Boot Picker should not be used with Leopard. I did go through the "Boot Camp" installation process in my first upgrade to Leopard, but that process didn't remove the earlier installation of Boot Picker.
    This is still just a guess, and I'm hoping, as I continue to reinstall miscellaneous application on my newly re-installed system, that the problem doesn't come back (or if it does, it comes back at a clearly-identifiable moment).
    Message was edited by: Angelo -B

  • Trigger Automator action upon re-login from fast user switch?

    I normally leave my account logged in on my Mac, and via fast user switching, return to the login window when I'm away from my Mac. (So my account stays logged in, but OS X remains at the user login window.)
    When I re-login, (how) can I trigger an Automator action to execute upon my return to my account?

    Try adding the action to your Login Items in Accounts preferences.  Save the automator action as an application first.

  • Automatic launch application & Fast User Switching

    Hello everyone. How automatic to launch app or to run applescript every time when change user (login) via Fast User Switching?

    13045147 - APEX_CUSTOM_AUTH.POST_LOGIN SHOULD NOT CALL AUTHENTICATION FUNCTIONIn version 4.1, calls to wwv_flow_custom_auth_std.post_login() behave like calls to login(). The procedure called the pre-authentication and authentication functions. It therefore required a valid username/password combination and could not be used to simply change the user, as in previous versions.
    Solution: There is a patchset exception for this available on metalink - search by bug number.>
    Regards,
    Igor

  • Cannot login to secondary accounts; can't fast user switch

    I am on a Macbook, 2 GB RAM, 120 GB hard drive, 10.4.8. Today, I developed a strange problem with logging in. I have auto login set so I log in automatically to my main account, which (thank God) works. However, if I access Fast User Switching to switch to a secondary account I have set up, called Test, the transition starts (the cube rotates) , switching to a solid blue screen...and never goes any further. I cannot seem to find any way to bring up the login screen on startup, either; I must allow my main account to boot up, and then try to switch accounts. If I turn off auto-login, I get the login screen, but login to the other account still fails.
    If I select, instead, the Login Window from the Fast User Switching menu, I get that screen. But when I select an account other than my main account, and try to log in, I get that blank blue screen. I've waited many minutes to see if something will eventually happen, but no go. The only way to get control of my Macbook back is to hold down the power button until it shuts down.
    I have run Tech Tool diagnostics and have repaired permissions (no errors found). I deleted my Test account, and redefined it; I also defined a second test account, one with admin privs and one without. No problem creating the accounts. However, when I try to log in to those accounts, the computer hangs on the blue screen.
    I'm not sure when this problem began because I have not been using my Test account for a couple of weeks. A lot has changed since then.
    Any suggestions, anyone?

    More info: I turned off auto-login, and was able to log in to my test account. Then, I was able to use fast user switching to switch to my main account. I will try again restarting into my main account and see if I can switch to Test. This failed consistently before I posted here. Perhaps the "sense Mac guru" circuit kicked in and cured the problem. I'm about ready to turn in so won't post a follow-up until tomorrow. Right now, I need to use my two accounts to get the job done (a writing job with screen shots of a new unaltered account). Then, I'll go back to trying to see if the problem still exists when I log in to the main account first.

  • Issues with Fast User Switching, language pref, greyed out menu options

    I have only one user logged in to my Macbook. If i want to select the other user using Fast User Switching and clicking on the username in top right corner of screen, nothing happens. The other user at this time is still logged out.
    Incidentally, when i click on the airport symbol, the wireless networks are often greyed out and i can't change networks unless in go into network prefs.
    One more thing - i have english and spanish selected as languages in international preferences. I ca not switch back to english at all - by clicking on the flag in the menu bar or by going into sys prefs. When n battery power, power characteristics are also greyed out and unable to select a different profile.
    any help welcome.
    thanks

    It sounds like everything in your menu bar is florfed.
    Can you log in to the other user account from the login window instead of by fast user switching? If so, does that account have the same problems with the menu bar?

  • Security Update 2008-007 grays out Fast user switching, et. al.

    I have noticed, over the course of installing the Security Update 2008-007 on several computers of various types (Power PC and Intel, all running at least OS 10.5.4 initially), that after the restart I see in System Preferences>Accounts>Login Options that the Automatic login 'drop down', 'Show Password Hints', and 'Enable fast user switching' are all grayed out. It noticed this after running the 10.5.5 combo update, among other system updates, on several of the computers at work. I was able to trace the problem to the Security Update 2008-007, because on most of the computers I purposely installed this separately after all other updates had been run and these same fields were grayed out on all but 2 stations. I have not found the common factors or discernible differences yet between the computers that were problematic and those which were problem free and tried unsuccessfully to avoid/correct the issue by running permissions repair before and/or after the Security Update and/or 10.5.5 update, as well as downloading the updater files and installing them locally. Has anyone experienced this problem after the Security update was run? I hope someone can suggest a fix, because Fast User Switching is much less intrusive on our employees if they don't have to log out each time I have to check their stations for something! Thanks.

    Alas. I tried that already without result, as well as running Leopard Cache Cleaner and Disk Warrior as acts of desperation. I didn't expect them to help and they didn't. All user spaces display the grayed fields, including the System Administrator. I have tried deleting a few plist files, which I were hoping were relevant, but no success yet. I have one last station running 10.5.4 which hasn't had this particular security update applied yet, so I'll see if I can isolate the culprit. Thanks for trying to help! I do appreciate the effort.

  • Screen has a bluish tint after fast user switching and then warning tone

    Hi all I'm having a bit of a problem that I hope someone can help me with. First the details, I have a MBP bought in late '07 and running Tiger. I was doing full backups using "Backup" and I also had Safari, iTunes, and Word open. I briefly switched to my other account using fast user switching and when I returned to the original account the whole screen had a blue tint to it. Like the color profile was off. This has happened before and a restart usually cures it, I haven't restarted yet but I am fairly certain it will correct the problem this time too. But is there anyway to prevent this? My second question is the one I'm more worried about. It also has happened before but usually when using more CPU intensive applications. When I went to System Preferences and opened up the display preferences in an attempt to correct the previous problem I heard a very loud tone. Like some type of warning tone, it was loud enough that it startled me. I had iTunes playing and after the tone the music got very quiet but relaunching it brought it back to normal. I'm just wondering is this some type of warning tone? Is it something I should be concerned about? Besides the music everything else seemed unaffected, although the previous times that this has happened usually when using handbrake there was noticeable problems after the tone (like applications crashing). All of these problems are gone after the computer is restarted though. Does anyone have any insight on these issues? Thank you.
    -James

    OK I ran TechTool and everything passed except for the volume scan. Then I checked this with Disk Utility and the HD failed for a few minor reasons, like invalid block count. I repaired it using the fsck -fy command in single user mode. The computer seems a little faster now. I don't know if this error is related to the beep in any way, I may try talking to an Apple genius to see if they know. Since it seems like pretty minor errors I'm not too worried about it but it does seem to be happening often. The last time I had this error was when I posted a question here about it which I just checked was on March 1st. So this error happened again after a little more than 2 weeks which seems excessive to me. Any thoughts?

  • Why are deleted user accounts showing up in login window and fast user switching menu?

    There are several old user accounts, just test accounts when I was studying for ACSA that I deleted, which continue to show up in the login window and the fast user switcher menu. I deleted them before upgrading to Lion (I think it was before). The accounts do not exsist in the /Users folder, nor even the /Users/Deleated Users folder. Additionally they do not show up in the list of users in System Preferences. Can anyone give some advice on how to remove these "ghost" accounts from the login window and drop down menu?
    Thanks
    dc

    Hi. Thanks for the link. Sorry it took me a while to get to this, the problem is not a show stopper, so to speak, so tried your advice when I had the time. Unfortunatly it did not work. Any other suggestions? Thanks.

  • ACU - Auto Update Feature enables Fast User Switching?

    Hi Guys,
    i am trying to update my novell clients with the acu feature of the novell client itself!
    i am planing to deploy: nov client 2 sp3 ir6
    i set up acu and everything is working fine... but after the installation of the novell client and a reboot or logout (doesnt matter) my login screen looks like this:
    credprov_5_a.png
    i found this in the official documentation of the novell client: http://www.novell.com/documentation/...v.html#bacczhg
    fast user switching becomes available and i dont want to have fast user switching enabled... i only want the novell login box to appear!
    i tried to disable fast user switching with gpo: gpedit.msc -> computer configuration -> administrative templates -> system -> logon -> hide entry points for fast user switching! no success!
    i also checked the novell client proberties under advanced login and everything is set up as usual... attached you can find my ncpf.txt file!
    ncpf.txt
    ... is this a new feature or maybe a bug or did i miss something?! any suggestions?!
    thx in advance!

    Originally Posted by Posty
    Hi Guys,
    i am trying to update my novell clients with the acu feature of the novell client itself!
    i am planing to deploy: nov client 2 sp3 ir6
    i set up acu and everything is working fine... but after the installation of the novell client and a reboot or logout (doesnt matter) my login screen looks like this:
    credprov_5_a.png
    i found this in the official documentation of the novell client: http://www.novell.com/documentation/...v.html#bacczhg
    fast user switching becomes available and i dont want to have fast user switching enabled... i only want the novell login box to appear!
    i tried to disable fast user switching with gpo: gpedit.msc -> computer configuration -> administrative templates -> system -> logon -> hide entry points for fast user switching! no success!
    i also checked the novell client proberties under advanced login and everything is set up as usual... attached you can find my ncpf.txt file!
    ncpf.txt
    ... is this a new feature or maybe a bug or did i miss something?! any suggestions?!
    thx in advance!
    So are you saying that user are logged in even after a reboot (as in the picture you posted)?
    I "hide entry points for fast user switching" and that setting works for us with NC2SP3IR6 adn WIN7SP1PRO, what version of Windows are you using?
    Thomas

  • Fast User Switching with Mounted Network Drive?

    I have a headless G4 Cube running 10.5.8 with a 2TB firewire drive plugged in for storage accessable to any of my macs here at home. I can access it fine with my 2 desktops over ethernet and wirelessly. Recently we decided to consolidate our 2 desktops into one using the muliple users feature. Seems to work fine, and both accounts can access the shared drive. They are logging in with the cube's admin credentials, and the shared drive is set to ignore permissions. I have the drive set to mount on login with a startup item in the system login items prefs. As long as I logout before switching users, everything is good.
    The problem arises with Fast User Switching which we'd love to be able to use. I can't figure out how to connect to the drive in one account without the 2nd account then seeing it as a volume without proper permissions, then that account creates a new volume mount for it (which doesn't work with iTunes properly and seems to cause other wierd issues).
    Example: So say 'user1' logs in, mounts the drive 'Jukebox'. everything seems OK so far. 'Jukebox' is on the desktop and iTunes finds the music. Now I fast user switch to 'user2' and there is a 'Jukebox' on the desktop with the red minus icon indicating I don't have permissions to access it. If I then browse the network and mount the drive, I end up with ANOTHER 'Jukebox' on the desktop. BUT iTunes doesn't see it properly. If I look in the /Volumes/ folder with the Terminal, I see a mountpoint for 'Jukebox' (with the owner of 'user1' group 'staff') and now a new mountpoint called 'Jukebox-1' (with the owner of 'user2' group 'staff').
    It seems when you mount a AFP drive, it creates the Volume with the current user and staff group, but switching to another user then can't access that when it sees it in the /Volumes folder. You try to mount again and it creates a NEW mountpoint, names it with a '-1' at the end and you can use that (but iTunes cant).
    So... how does one use a shared drive that you want on BOTH users desktops with Fast User Switching turned on? Is there a way to have the drive mounted BEFORE either user logs in, such that it will be seen as any other local drive (which doesn't have the issue)??
    Or is there some other way I can attach to the network volume in each account on login so both have access to music and videos with full permissions?
    I'm really stumped here after 2 hrs of googling, searching here and trying things.
    TIA

    I've not had any luck with the suggestions in the link either.
    Here's two other approaches I've tried and failed with:
    1. Creating a new share point on the cube itself so that one user can mount it as a different volume. Then the issue is that I still don't have a volume named "Jukebox" available to each user when switching. I DO have access now to the data from both accounts, but under 2 different mount points (volume names) and the xml file for iTunes is hard coded with the path for each mp3 including the "Jukebox" volume name... so no go.
    2. Tried figuring out a way I could script a mounting of the share with the terminal thinking I could then run that shell script at startup. Can't seem to get the sytax right. If I create a directory in /Volumes and mount and afp share to it, it takes on the ownership of root/wheel which I can't access in the finder and can't seem to change.
    BUT I'll keep playing with both these ideas a bit... the first one might be overcome with a bit of logic and the 2nd if I can get the syntax right to mount the share with afp_mount and give it the correct ownership/permissions such that when a user logs in she/he sees the volume on the desktop and has full r/w access to it.
    thanks again. if you offhand know the syntax for that, let me know

  • OS 10.4.6. has broken dialup connectivity when using fast user switching

    I installed OS 10.4.6. It seems to have broken dialup connectivity when using fast user switching when switching from one user to the next.
    For dialup, it is extreamly annoying that I can not resume downloading a file from were it got cut off, but now, if another user wants to check their email, my download always gets broken and has to be restarted. Dialup is slow enough with out having to start from scratch even more frequently, now.
    Also, in earlier versions of 10.2 or 10.3 (I don't remember which), I was able to switch users and maintain listening to a single users' iTunes.
    I would like to be able to switch users and not lose either my dialup network connection or the primary users currently playing iTunes songs.
    Perhaps for iTunes, one should be able to chose to mute another users' instance of iTunes, if it is currently playing.
    Mini-Mac 1.42GHz 80GB BT/AE   Mac OS X (10.4.6)  

    I have not tried replicating this but might be able to provide some additional information.
    We use network login accounts on our desktop computers. Fast User switching deliberately will not work for multiple network login accounts. (Remember network login accounts normally also have an associated network home directory mounted via AFP.)
    Now a bit of background about volumes and mount points under Mac OS X. Under Mac OS X, any additional drive (or more accurately 'volume') is listed under the 'Volumes' folder, remember also that Mac OS X is a Unix operating system. So just as normal for Unix, the boot drive is '/' or the root level and Volumes is a folder in it. The underlying Mac OS X software automatically 'attaches' and additional volumes as sub-folders in the 'Volumes' folder (in Unix speak these are called 'Mount Points'), if you have an external hard-disc called 'Fred' then this would be represented by the following path
    /Volumes/Fred
    If you happen to have two volumes with the same name connected at the same time then while in the Finder they may show up with the same name, in Unix they would have different names automatically assigned to keep them separate like so
    /Volumes/Fred
    /Volumes/Fred 1
    Now getting back to the Fast User switching problem and AFP volumes, when you login to a File Server volume it also is automatically added to the Volumes folder, so if we have a File Server volume called 'Shared' it would look like
    /Volumes/Shared
    With Fast User switching potentially both user accounts could be accessing the same /Volumes/Shared which means both user accounts would be talking to the server via the same File Server login, hence the possibility for one of the Fast User accounts to be using the 'wrong' permissions.

  • Fast User Switching From Screen Saver

    How can I make my Mac display the login screen (as though I'd  selected "Login window" from the fast user switching menu) after the  session has been idle for a certain time?
    I can make it log out after some amount of inactivity, but I don't want that. I want my programs to continue running.
    I can also set the screen saver to require a password, and clicking  the "Switch user" button on the password dialog will display the login  screen. I'd effectively like to skip that step and go directly to the  login screen without having to push the button.
    note:  I stole the wording of this question directly from here , which was posted 2 1/2 years ago.  One solution then was to download a custom Script Saver and use a custom Apple Script, and the other was to purchase a 3-rd party product which costs $50.
    The reason I want to do this is because I am setting up an iMac for a family with small children.  The iMac will be shared by 4 people, and training the kids to click on the "Switch User" button is a hopeless task, so please don't suggest "train the users to click on the 'Switch User' button".
    Also, this is not my computer.  I want to keep the solution as simple and fool-proof as possible, becuase I don't want to get called if something breaks (which is why I'm disinclined to use a  script or buy a 3-rd party product I don't trust).

    PS -- Script Saver has been discontinued.
    https://www.macupdate.com/app/mac/9599/scriptsaver
    So that's not an option anyway.

  • Disable Fast User Switching for RDP (NOT HIDE ENTRY POINTS!)

    Windows 7 Pro.
    I do virtually all my administration of 150 workstations (various domains and workgroups) remotely via RDP, and with Windows 7, I am finding more and more complications with Fast User Switching. Anything running under another user account may well
    interfere with what I need to do: it may slow me down by consuming system resources, or it may, in fact, lock files that I need to remove or update.
    When I log on remotely via RDP, I am notified that another user is logged on, but I have no option to log the other user off. If I then attempt to update a program that the other user has open, it may not update correctly because the other user has files
    in use. I have been told I can use WMI to force another user logoff. I could probably run shutdown -i and force the user off (but, of course, that might log me off as well). However, this is not a good approach; when I run updates, I typically connect to anywhere
    from five to 30 workstations simultaneously, and by the time I get logged onto all of them, I have no idea which had other users logged on and which did not. I would have to repeat on each of 30 workstations just to find out. I need a way to force-logoff the
    other user during my logon process.
    In the middle of running software installation, I may disconnect (NOT LOGOFF) from a workstation, take it to another site, then reconnect to the station to finish the installation. I may even just walk away from my computer for 15 minutes while updates are
    running. If a non-administrative user attempts to logon, it asks me for permission, but allows the user to logon if I do not manually deny it. All non-administrators must be automatically denied logon when I am logged on.
    It seems that disabling Fast User Switching would do this, but every time I have posted anywhere on the issue, I get another set of instructions on how to hide the entry points for Fast User Switching. That may work well for managing local logons
    but fails miserably to protect my administrative environment.

    Hi Brian,
    Base on the KB article 279765
    How To Use the Fast User Switching Feature in Windows XP, when not using Fast User Switching (FUS) and a non-administrator is logged on, a member of the Administrators
    group can establish a remote desktop connection and has the ability to logon to the machine locally and gets a prompt to logoff previous logged on user. When an administrator is logged, any member of the Administrators group may establish a remote desktop
    connection. If a non-administrator attempts to connect, you may receive the following error message:
    “The user <Domain or Computer Name>\<username> is currently logged on to this computer. Only the current user or an administrator can
    log on to this computer.”
    In Windows 7, if the Fast User Switching is turned off, the Administrator cannot attempt to login locally. Administrator can do a Remote Desktop Session
    to the Windows 7 machine and put his credentials. Once he attempts to login, he gets a prompt that looks like below.
    “Once Administrator clicks on Yes, the User1’s session is disconnected.”
    After logging in, Administrator can launch the Task Manager, click on “Users” tab and logoff User1. The prerequisite for the Administrator
    to be able to do a Remote desktop session to the Windows 7 machine is to enable Remote Desktop services on the Windows7 machine.
    In the interim, when the Administrator is logged in and has not attempted to logoff User1 yet, if User2 tries to login, the Administrator will get a
    prompt that looks like below.
    “If the Administrator clicks OK, User2 will be allowed to login and the Administrator’s session will be disconnected.”
    This is a known issue.
    Regards,
    Sabrina
    This posting is provided "AS IS" with no warranties or guarantees, and confers no rights. |Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
    This can be beneficial to other community members reading the thread.

  • Mac OS X 10.5: How to enable Fast User Switching

    On my iBook G4, I have installed Leopard and retain the ability that I had with Tiger to select my user name on the top bar and then switch users. However, on my dad's iMac, which came preloaded with Leopard, I do not have this same ability. How would I go about making this work?

    You have to activate Fast User Switching in System Preferences > Accounts (at the lower left corner you'll find the button Login Options). You can choose whether to display just an icon or your user name in the menu bar. In order to change any of these options you need admin privileges. If the menus are greyed out click on the padlock in the lower left corner of the window.
    floba

Maybe you are looking for