Reboot without logging out other users

Hi everyone,
let's say there are 2 users currently logged in. One of them wants to reboot due to some reason. 2 choices are now available:
a) Log in the other user to logout and switch back to the first one in order to reboot.
b) Provide an admin's name/pw to logout other users automatically.
My question is: What happens technically when going with option b?
Will the other user's apps all be force-quit or will they quit normally unless there are unsaved changes? Or is it even something else?
I'm asking because the second user usually only has Safari, Mail, iCal open so there are no save dialogues when quitting the apps manually and it would save some time to just log him out automatically instead of switching to his account only to log him out. Of course I don't want any unneccessary force-quits to happen due to the fact that prefs won't get saved this way compared to a normal quit.
Hope you get it and thanks!
Björn

I just did some testing and it really seems to be a force-quit under all circumstances. Knowing that an app's preferences don't get written to disk when doing a force-quit by hand (cmdaltesc) I tried the following:
I left the 2nd user logged in, changed Mail's window position and a setting in TextEdit's preferences. Both settings are stored in their respective plists. I then switched back to the first user, selected to reboot and typed in my admin name and pw. After reboot I saw that the 2ns user's app prefs weren't saved. TextEdit reverted to the settings before my change and Mail showed its window on the last saved position.
Thanks for your input. Seems like it always is a force-quit this way and it's good to know that.
Björn

Similar Messages

  • Log out other user - what if I do not know who they are?

    I work in a hostel and use a computer that has two user accounts. When I plug my iShuffle on my user account (that is only used by me) in the following warning comes up:
    "Another user on this computer is using the iPod software, so iTunes is unable to communicate with this iPod. Please ask the other user to log out?"
    I do not know who the other user is, so cannot log them out. Is there a way of fixing this without re & de-installing the software?
      Windows XP  

    -Open the Task Manager (press CTRL-SHIFT-ESC).
    -Click the Processes tab.
    -Find the iPodService.exe, select it, and End Process it.
    -Repeat for iTunes.exe and iTunesHelper.exe, if they are there.
    -Close the Task Manager.
    -Start iTunes again.

  • Switching Users without Logging out on Snow Leopard

    I want to be able to move from one account to another without logging out of either account.  however, when i go to system preferences and click the button for show fast user switching, nothing happens, and when i go back into system preferences it is no longer checked.
    How do I do this?

    The option is grayed out and can't be changed until you click the lock and enter an admin password.

  • FileVault cleanup without logging out

    Please help me clean up space (i have deleted tons of files and emptied the trash) without logging out from the account.
    Will "hdiutil compact [path to your account's sparse image]" work from a 2nd active account? The account I want to clean up is "/Users/DS/" what would be the path to my sparse image?
    Or am i on the wrong path here?
    Regards,
    Peter Brage

    Yes, its supposed to happen every time you log out. You can skip it, too its easier you do it every time you log out as if you keep on skipping it and one day decide to not skip it will take some time to free the space. So its easier if you just every time you log out click "Continue" and let File-Vault do its thingy =)

  • Log out the user

    How can I log out some user on the VPN 5000 system With the VPN 5000 Manager? Is any possble for doing this? Thanks.
    Mike

    Hi there,
    To log a user out of the Portal I decided to go the route of: UMFactory.getAuthenticator().logout(req, res)
    Code is below.
    Thanks for your replies,
    - Vik.
    <code>
    IAuthentication Authen = UMFactory.getAuthenticator();
    HttpServletRequest req = request.getServletRequest();
    HttpServletResponse res = request.getServletResponse(true);
    //logoff user from Portal
    Authen.logout(req, res);
    </code>

  • Logging out a user

    Hi,
    I'm new to WebLogic, and I'm trying to figure out how to log out a user. I am currently using Authenticate's logout method (weblogic.security.auth.Authenticate.logout(weblogic.security.Security.getCurrentSubject()),
    and it seems to work, but the user who was just logged out can't log in in the same browser until another user has logged in and out. I've tried destroying all the cookies and ivalidating the current session, but to no avail. Any help would be appreciated. Thanks,
    Dmitriy

    Actually, most importantly in our logout procedure we must set loggedIn to false in a database table.
    We've talked about having the clients send a "heartbeat" to the model residing on the OraAS. If we do not get a heartbeat for a set number of times we could "time out" a client. If we were to go this route, we'll have to register the clients (probably by IP) and spawn a new thread for this service.
    Does anyone feel this is not the route to go? Is there anything a bit more KISS to implement. Obviously this adds a bit more complication and more points of failure to our current system.
    -brian

  • Logging out all users

    To perform a back-up I want to log out all users. Currently I use the 'unloadapp' ESSCMD, but this does not seem to log out users who are currently retrieving data. As a result my back-up fails.Does the 'logoutallusers' command log of all users (active, inactive)?Regards,JG

    Howdy!We do this via script for each application using the following essmsh syntax:"alter application appname disable connects;"This works great. We then re-establish any connections that we killed with the following statement:"alter application appname enable connects;"Hope this helps!JR

  • How to log out all users from Application to switch partitions?

    Hi,
    We currently use a maxl script to switch over active partitions and as you may know, users need to be logged out when this happens. The current script we use is:
    alter system logout session on application ABANSWER force;
    alter system kill request on application $4;
    alter system kill request on application FCSTA3;
    alter system kill request on application FCSTA4;
    alter system kill request on application HISTA;
    alter system kill request on application ABANSWER;
    drop transparent partition ABANSWER.REPORT from $4.$2;
    Quite often we seem to get the issue that some user can't be logged out because they are running something intensive and this causes the partition switch to fail.
    Does anyone know a better way to do log out the users or kill the sessions so we can reliably switch the partitions? Any help would be appreciated.
    Thanks
    Arfan

    that means that the app was purchased under that seperate apple id. u will need to delete the app and redownload it using the yahoo one if u want to be able to update it.

  • If I add a new account user,can I sync my iPhone and iPad to that account without effecting the other user?

    If I add a new account user,can I sync my iPhone and iPad to that account without effecting the other user? I'm trying to sync my iPhone and iPad  to a new account on a computer I am now sharing after my computer died.

    Don't create a new iTunes account.
    Just update everything with new info/change password/ security questions.
    -> https://appleid.apple.com/

  • Force end of session when user closes window without logging out

    I want to protect sensitive employee data. Does anyone know how to force a user's portal session to be terminated after a user closes a window with the "X" instead of logging out?

    Web application is connectionless. So there is no way to tell if a user has disconnected. If the user diligently logout, then invalidating a session is no problem. However, if you wish to invalidate the user upon closing of window, I suggest you drop that idea and change to different approach.
    1. If you are trying to impose single logon policy, you may consider invalidate an existing session if the same user login again.
    2. If you really need to invalidate a user session as soon as he is inactive (or closes window). I suggest you set a very small timeout interval (maybe 3 minutes). Then for all the pages, implement a simple invisible IFRAME that will keep refreshing itself (say every 2 minutes) on a dummy JSP/servlet URL. The fact that this IFRAME always hit the URL at 2 mins interval will keep the user session valid. Once the browser window is closed, the session will be invalidated in max 3 mins time.
    The final suggestion is to drop that idea altogether, the point is ... implement such feature is like twisting web application to do something that it is not design to do naturally.

  • MBP won't log out of user account

    Hello,-
    My MBP won't log out of my user account.  It just sits at a white screen with the apple logo.  I have to reboot it (several times) to get back
    to my user accounts.
    I have done a disk repair and it worked fine for 2 days then back to issue.
    Any suggestions?

    If you don't already have a current backup, back up all data before doing anything else. This procedure is a diagnostic  test. It changes nothing, for better or worse, and therefore will not, in itself, solve your problem. The backup is necessary on general principle, not because of anything suggested in this comment.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The procedure will help identify which such modifications you've installed, as well as some other aspects of the configuration that may be related to the problem.
    Don’t be alarmed by the seeming complexity of these instructions — they’re easy to carry out. Here's a brief summary: In each of two steps, you copy a line of text from this web page into a window in another application. You wait about a minute. Then you paste some other text, which will have been copied automatically, back into a reply on this page. The sequence is copy; paste; paste again. That's all there is to it. Details follow.
    While investigating the problem, you may have started the computer in "safe" mode. If possible, these steps should be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. If you can only boot in safe mode, you can still use this procedure, but not all of it will work. Be sure to mention that in your reply, if you haven't already done so.
    Below are instructions to enter UNIX shell commands. The commands are safe and do nothing but produce human-readable output, but they must be entered exactly as given in order to work. If you question the safety of the procedure suggested here — which you should — search this site for other discussions in which it’s been followed without any report of ill effects. I am not asking you to trust me. If you can't satisfy yourself that these instructions are safe, don't follow them.
    The commands will line-wrap or scroll in your browser, but each one is really just a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it.
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. Step 1 should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply.
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click anywhere in the line of text below on this page to select it:
    PB=/usr/libexec/PlistBuddy; PR () { [[ "$o" ]] && printf '\n%s:\n\n%s\n\n' "$1" "$o"; }; PF () { o=$($PB -c Print "$2" | awk -F'= ' \/$3'/{print $2}'); PR "$1"; }; { o=$(( $(vm_stat | awk '/Pageo/{sub("\\.",""); print $2}')/256 )); [[ $o -gt 1024 ]] && printf "\nPageouts: %s MiB\n\n" $o; o=$(kextstat -kl | grep -v com\\.apple | cut -c53- | cut -d\< -f1); PR "Loaded extrinsic kernel extensions"; o=$(launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)|\.[0-9]+$/{print $3}'); PR "Loaded extrinsic user agents"; o=$(launchctl getenv DYLD_INSERT_LIBRARIES); PR "Inserted libraries"; o=$(crontab -l); PR "User cron tasks"; o=$(cat /e*/lau*); PR "Global launchd configuration"; o=$(cat ~/.lau*); PR "Per-user launchd configuration"; PF "Global login items" /L*/P*/loginw* Path; PF "Per-user login items" L*/P*/*loginit* Name; PF "Safari extensions" L*/Saf*/*/E*.plist Bundle | sed 's/\..*$//;s/-[1-9]$//'; o=$(find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l); [[ $o -eq 0 ]] || printf "\nRestricted user files: %s\n\n" $o; cd; o=$(find -L /S*/L*/E* {,/}L*/{A*d,Compon,Ex,In,Keyb,Mail/Bu,P*P,Qu,Scripti,Servi,Spo}* -type d -name Contents -prune | while read d; do ID=$($PB -c 'Print :CFBundleIdentifier' "$d/Info.plist"); ID=${ID:-No bundle ID}; egrep -qv "^com\.apple\.[^x]|Accusys|ArcMSR|ATTO|HDPro|HighPoint|driver\.stex|hp-fax|JMicron|microsoft\.MDI|print|SoftRAID" <<< $ID && printf '%s\n\t(%s)\n' "${d%/Contents}" "$ID"; done); PR "Extrinsic loadable bundles"; o=$(find /u*/{,*/}lib -type f -exec sh -c 'file -b "$1" | grep -qw shared && ! codesign -v "$1"' {} {} \; -print); PR "Unsigned shared libraries"; for d in {,/}L*/{La,Priv,Sta}* L*/Fonts; do o=$(ls -A "$d"); PR "$d"; done; } 2> /dev/null | pbcopy; echo $'\nStep 1 done'
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    The command may take up to a few minutes to run, depending on how many files you have and the speed of the computer. Wait for the line "Step 1 done" to appear below what you entered. The output of the command will be automatically copied to the Clipboard. If the command produced no output, the Clipboard will be empty. Paste into a reply to this message. No typing is involved in this step.
    Step 2 
    Remember that you must be logged in as an administrator for this step. Do as in Step 1 with this line:
    PR () { [[ "$o" ]] && printf '\n%s:\n\n%s\n\n' "$1" "$o"; }; { o=$(sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|calendarse|cups|dove|isc|ntp|post[fg]|x)/{print $3}'); PR "Loaded extrinsic daemons"; o=$(sudo defaults read com.apple.loginwindow LoginHook); PR "Login hook"; o=$(sudo crontab -l); PR "Root cron tasks"; o=$(syslog -k Sender kernel -k Message CReq 'error|GPU |hfs: Ru|I/O e|find tok|n Cause: -|NVDA\(|pagin|timed? ?o' | tail -n25 | awk '/:/{$4=""; print}'); PR "Log check"; } 2> /dev/null | pbcopy; echo $'\nStep 2 done'
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    You can then quit Terminal.
    To prevent confusion, I'll repeat: When you type your password in the Terminal window, you won't see what you're typing.
    Note: If you don’t have a login password, set one before taking Step 2. If that’s not possible, skip the step.
    Important: If any personal information, such as your name or email address, appears in the output of these commands, anonymize it before posting. Usually that won't be necessary.
    Remember, Steps 1 and 2 are all copy-and-paste — type only your password. Also remember to post the output.

  • Can administrator log out a user from application

    Hi
    My application has functionality to display all the logged in users of the application. This screen ia available to only administrators of the application. Now can the administrator logout any of the logged in users from his own screen? If yes then how?
    Could you please give me some pointers?
    Thanks & Regards
    Inder Jeet Singh

    there are several ways an administrator can do that. but that depends on the way you manage your sessions.
    how are you getting the list of logged users? if it is from the database based on some field in some table then you can give the functionality to administrator to set that value to the logged out status(or whatever you are using).
    but that depends on the way your application is keeping trak of the logged users.

  • Log Out Behavior - Users appear to stay logged in

    I cannot get a user to logout using the Log Out User
    behavior. I created a restricted page which displays the user's
    name once logged in, however when the user logs out and a different
    user id is used, the restricted page returns the first user's id. I
    cannot get the first user cleared. Thought it might be cookies but
    not sure. I'm using DW CS4's built in behaviors (no hand coding),
    MySQL 5.1.11, and PHP 5.2.9-1. Any ideas

    David I'll try to clarify.
    I've built 1 test MySql database, and 3 test pages
    (login.php, login_failure.php, and authorized.php).
    database: 6 fields (recordID, userFirstName, userLastName,
    userID, userPW, userAccess). userAccess values were 1 and 0, now
    are admin and user. admin is the allowed value in this case.
    Records in MySql InnoDB:
    recordID: 1 (Primary Key)
    userFirstName: User1
    userLastName: User1 Last
    userID: user1 (Indexed)
    userPW: user
    userAccess: admin
    recordID: 2 (Primary Key)
    userFirstName: User2
    userLastName: User2 Last
    userID: user2 (Indexed)
    userPW: user
    userAccess: admin
    login.php: Has one behavior, Log In User with Restrict access
    based on User, password and access level which is derived from
    userAccess field in database. If successful, user goes to
    authorized.php, if not, user goes to login_failure.php.
    login_failure.php: No SB, simply presents user with message
    that they are not authorized for access and a link to return to
    login.php.
    authorized.php: 4 SBs. Restrict Access to Page(), Recordset
    (Recordset1), Dynamic Text (Recordset1.userFirstName), and Log Out
    User. This page allows userAccess value "admin" from database and
    presents user with text Welcome (Recordset1.userFirstName). There
    is also the Log Out User link to log out.
    Steps to recreate:
    Set both userIDs userAccess to "admin" to allow access to
    authorized.php
    Login to login.php using userID "user1" and password "user"
    Take me to authorized.php, with "Welcome User1" displayed
    Click Logout
    Login to login.php using userID "user2" and password "user"
    Take me to authorized.php, with "Welcome User1" displayed
    (note: supposed to be Welcome User2)
    Click Logout
    Change userAccess for userID "user1" to something other than
    "admin"
    Login to login.php using userID "user1" and password "user"
    Takes me to login_failure.php as expected
    Return to login.php via link
    Login to login.php using userID "user2" and password "user"
    (which is now the only auth user)
    Take me to authorized.php, with "Welcome User1" displayed
    (note: supposed to be Welcome User2)
    Click Logout
    The security part works as seen above. I just don't
    understand why the authorization.php page always shows the first
    record in the DB. That's why I was assuming that the Log Out User
    function was not working.
    Steve

  • HOW TO LOCK ACCOUNT WITHOUT LOGGING OUT?

    does anybody know how can i do to lock the account without having to log out from it?
    im also having problems finding one of the simbols for the quick keys options, like for example force to quit, from the keyboard? the firt key what is it? im looking for that symbol all over the keyboard..

    What do you want to lock out, the screen or the keychain?
    If you want to lock out just the keychain, you can do this though keychain access. In it you can add the menu item to the menu to be able to lock it whenever you want or you can set an idle time to lock the specified keychain whenever it's idle.
    If you want to just lock the screen, you can do this through security in your system preferences. Just select require password from sleep or screen saver.

  • When logging out of user account iMac will not start back up at login screen.

    To prevent guests from using my iMac I frequently "log out" and created a guest account. However when I log out and shut down, my iMac turns on
    right back to my desktop not even returning to the "log-in" screen. I tried fixing this under preferences but this did not yield any help as it's still doing
    this? I don't understand I can't recall ever having this problem before. Please help! Thanks

    Try rebooting into Safe Mode, this will clear some caches. It is possible one (or more) is corrupt. To reboot in Safe Model when you hear the startup tone hold down the Shift Key until you see a progress bar appearing.

Maybe you are looking for

  • Several issues questions with 865PE neo2 FIS2R

    ok first off thanks to the people here, the sticky's are great and very informative. although i do find the info outdated in that they all refer to old bios's. other than that this is a fantastic forum ok so on with the questions. im using a Silicon

  • MSI X99 AC Power Motherboard 8pin+4pin CPU Power?

    Hello, I just opened my msi x99 ac and I see it has an 8pin and 4pin cpu power near the top, now that is like what my asus extreme 1150 had, however I only have 2 8pins from my 1200w corsair ax. However right next to the 4pin is a little something, s

  • Using iTunes to sync photos, ipad gets the frames but no image in them.

    When I use iTunes to sync photos or faces, the iPad shows the frames only, but no images.

  • Get table name of a record

    Hello every body, I am trying to create a procedure in pl/sql which can takes in input a record and its output is the table name of the record....i don't know how to do this in pl/sql...can u help me? Thanks.

  • NSLOOKUP is resolving common for all the domains.

    Hi, Here i have the issue in my DNS server which is Server 2008 R2 Enterprise(64bit). My DNS is resolving common IP for all the domains whencheck with nslookup, But users can able to do browsing with my DNS. Only thing is not resolving nslookup. Eg: