Force other users to logout

I can I force a logout of a managed user when using fast user switching?

Matti Haveri wrote:
Thanks for the tip nerowolfe.
I also miss an easy way to logout other users. My son and daughter sometimes leave Safari, Messenger etc open in their accounts so they unnecessary consume the CPU so that the fans may even turn on although my active account is idling.
Rebooting the system does the trick but it takes time and then I have to login and open my applications.
So I miss the "clean logout of other users with no rebooting" - option.
So does shutdown -r force other users besides me to logout?
The shutdown command I gave will log out all users and restart the computer. It was a "scare" tactic
However,
shutdown -k
with "k" for kick off" will remove all users, including yourself, but will not reboot the machine, so all you have to do is log in again, but I am not sure how because:
The manual says:
Kick everybody off. The -k option does not actually halt the system, but leaves the system multi-user with logins disabled (for all but super-user).
So it may not be a good method after all.
As an administrator you should be able to log into the other accounts and log them off manually. That's probably the best way.

Similar Messages

  • Anyway to force a user to logout?

    Hi,
    I wonder whether there is a way for root to force a user out of the system, if the user is currently in it.
    I get two reasons to do it:
    1) sometime after a remote telnet PC crash, I find the user is reported to be still in the host from "who". I guess this may results from the telnet's unexpected crash. so I want to get ride of their pending sessions in the host.
    2) if I suspect a certain user, and find he is in the system from a telnet, I want to force him out of the system immediately (reset his passwd will not affect the current connections).
    Any idea of it?
    Thanks a lot.

    Don't forget who -uH to find out the PID of the user you want to kill
    Hi,
    I wonder whether there is a way for root to force
    rce a user out of the system, if the user is currently
    in it.
    I get two reasons to do it:
    1) sometime after a remote telnet PC crash, I find
    ind the user is reported to be still in the host from
    "who". I guess this may results from the telnet's
    unexpected crash. so I want to get ride of their
    pending sessions in the host.
    2) if I suspect a certain user, and find he is in
    in the system from a telnet, I want to force him out
    of the system immediately (reset his passwd will not
    affect the current connections).
    Any idea of it?
    Thanks a lot.

  • 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

  • Fictional "other user" when starting up i-tunes

    When I start up i-tunes a window opens:
    "Another user on this computer is using the ipod software, so i-tunes is unable to communicate with this ipod. Please ask the other user to logout."
    The ipod is opening as a new drive, which probably explains why it can't be accessed, but how can I stop this happening?
    It could be related to a video I watched online - I had to agree to change a quicktime thing to be able to watch it - I ran the setup disc again hoping it would reconfigure this but to no avail. Do i completely reinstall?

    That is really helpful info for me to have - thank you. I've needed to know that for a year now!
    But my even better news is that your brilliant, wonderful, fabulous, amazing solution worked perfectly, even w/o ejecting the iPod. I was so desperate that I tried what you said to do w/o hearing back from you, and it worked!
    I know I'm sounding like a whacko, but really, this is a HUGE thing for me - I'll get much more use out of my iPod, even, knowing I can count on the darn thing to sync w/o having to do 20 minutes of detective work and rebooting.
    You, Katrina, ROCK. Thank you thank you thank you.

  • I just updated my MacBook pro early 2011 model to OSX 10.9 and was forced to create a new user(administrator) and ended up with a different configuration. If I login with my original user name everything is back. How can I get rid of the other user name?

    I have two user names with Administrator privelages and my MacBook keeps booting up to the wrong one and I have the wrong configuration since I updated to OSX 10.9. I would like to get back to my original User name which I used to boot up to. When I go to the User Groups and Preferences it doesn't allow me to delete the un-wanted user.
    Does anybody have any suggestions how I can fix this? I can't seem to recover Time Capsule back-ups prior to the OSX upgrade even though I have been faithfully backing up to a Time Machine.
    Help please.

    First of all, open System Preferences > Users & Groups > Login Options, and set your old user account in "Automatic login". By doing this, your computer will always log in with your old account.
    Then, log in your old account, where you will be able to delete the new user that OS X Mavericks forced you to create. Other users have reported the same problem

  • How do I force other logged in user sessions in Windows 8.1 to log off or disconnect?

    I am running Windows 8.1 on a Dell laptop. There are two user that login to Windows using Microsoft Live accounts. The other user is logged in and remains that way even after a Restart and a Reboot.
    I cannot find a way to force the session to terminate and do not have the users password. So far, I cannot find any Forum postings that will help either.

    Hi Greggor,
    You say they are still logged in after a restart?? if you open task manager and look under users are the session aside yours listed?
    Thanks,
    Adam

  • Dreamweaver Server Bahavior, User Authentication, Logout User Problem

    Hi! I want to add a 'logout user' functionality to the PHP
    page using Server Behavior, User Authentication, Logout User option
    in Dreamweaver CS3.
    I highlight the text, Logout, then clicked on the above
    mentioned option and I get an error message:
    While executing onLoad in Log Out User.htm, the following
    JavaScript error(s) occurred:
    At line 603 of file "C:\Program Files\Adobe\Adobe Dreamweaver
    CS3\Configuration\Shared\Controls\Script\TagMenu.js": The object is
    not currently contained in a document.
    In the Log Out User form, the "link clicked" is blank and
    "when done" is not selectable.
    Can anyone help me out? Thanks!

    Hi! I'm not using Javascript. I'm using PHP to log in and log
    out a user. The log in implementation works fine. It's the log out
    that is giving me problems.
    Below is the code:
    <?php
    if (!isset($_SESSION)) {
    session_start();
    $MM_authorizedUsers = "admin";
    $MM_donotCheckaccess = "false";
    // *** Restrict Access To Page: Grant or deny access to this
    page
    function isAuthorized($strUsers, $strGroups, $UserName,
    $UserGroup) {
    // For security, start by assuming the visitor is NOT
    authorized.
    $isValid = False;
    // When a visitor has logged into this site, the Session
    variable MM_Username set equal to their username.
    // Therefore, we know that a user is NOT logged in if that
    Session variable is blank.
    if (!empty($UserName)) {
    // Besides being logged in, you may restrict access to only
    certain users based on an ID established when they login.
    // Parse the strings into arrays.
    $arrUsers = Explode(",", $strUsers);
    $arrGroups = Explode(",", $strGroups);
    if (in_array($UserName, $arrUsers)) {
    $isValid = true;
    // Or, you may restrict access to only certain users based
    on their username.
    if (in_array($UserGroup, $arrGroups)) {
    $isValid = true;
    if (($strUsers == "") && false) {
    $isValid = true;
    return $isValid;
    $MM_restrictGoTo = "denied.html";
    if (!((isset($_SESSION['MM_Username'])) &&
    (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'],
    $_SESSION['MM_UserGroup'])))) {
    $MM_qsChar = "?";
    $MM_referrer = $_SERVER['PHP_SELF'];
    if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
    if (isset($QUERY_STRING) && strlen($QUERY_STRING)
    > 0)
    $MM_referrer .= "?" . $QUERY_STRING;
    $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar .
    "accesscheck=" . urlencode($MM_referrer);
    header("Location: ". $MM_restrictGoTo);
    exit;
    ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"><!--
    InstanceBegin template="../Templates/admin.dwt"
    codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Admin</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    <link href="../twoColFixLtHdr.css" rel="stylesheet"
    type="text/css" />
    <!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional
    comment */
    .twoColFixLtHdr #sidebar1 { width: 230px; }
    </style>
    <![endif]--><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional
    comment */
    .twoColFixLtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixLtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout
    it needs to avoid several bugs */
    </style>
    <![endif]--><style type="text/css">
    <!--
    body,td,th {
    color: #000000;
    body {
    background-color: #990000;
    .style1 {color: #FFFF00}
    -->
    </style></head>
    <body class="twoColFixLtHdr">
    <div id="container">
    <div id="header">
    <h1 class="style1">Welcome to EMART</h1>
    <!-- end #header --></div>
    <!-- InstanceBeginEditable name="EditRegion4" -->
    <div id="sidebar1">
    <h3 class="style1">Emart</h3>
    <ul type="square">
    <li><a href="../index.php"
    class="style1">Home</a> </li>
    <li><a href="admin.php"
    class="style1">Admin</a> </li>
    <li><a href="add_product.php" class="style1">Add
    Product</a> </li>
    <li><a href="edit_product.php"
    class="style1">Edit Product</a> </li>
    <li><a href="delete_product.php"
    class="style1">Delete Product</a> </li>
    <li>Logout</li>
    </ul>
    <p> </p>
    <!-- end #sidebar1 -->
    </div>
    <!-- InstanceEndEditable --><!--
    InstanceBeginEditable name="EditRegion3" -->
    <div id="mainContent">
    <h1>Admin</h1>
    <p>
    <!-- end #mainContent -->Logout</p>
    <p>  </p>
    </div>
    <!-- InstanceEndEditable -->
    <!-- This clearing element should immediately follow the
    #mainContent div in order to force the #container div to contain
    all child floats --><br class="clearfloat" />
    <div id="footer">
    <p>&copy; 2008<!-- end #footer -->
    </p>
    </div>
    <!-- end #container --></div>
    </body>
    <!-- InstanceEnd --></html>

  • How can I save a Adobe document to print duplex for other users.

    I want to create a doc using Adobe and be able to set it to print duplex by other users without the user needed to go into printer settings.
    All the user has to do is click print on there computer and the doc. will print duplex. The users have Adobe Reader installed.

    It is possible to set a default value for the Adobe Reader or Acrobat print dialog on a document basis. After the document is created, go to Document Properties (Ctrl-D), and select the Advanced tab. Go to the DuplexMode setting. Normally, this is set to Simplex, i.e. single sided printing. You can also set it to either Duplex Flip Long Edge or Duplex Flip Short Edge depending upon your needs. Duplex Flip Long Edge is normally used for printing of “portrait” orientation content with Duplex Flip Short Edge typically used for printing of “landscape” orientation content. Then save the PDF file (typically, “save as” should be used).
    Important notes: Obviously, this only works if the PDF file is being opened by one of the applications that even bothers to look at these settings. Adobe Reader and Acrobat do. Don't count on MacOS Preview or other applications to do so! Furthermore (and somewhat obviously), this setting is only observed with print devices that directly support duplex printing. And finally, this does not force the user to print duplex. It simply pre-populates the print dialog; the user can change the setting.
              - Dov

  • Is there a way to force a user to view all of Accordion Widget?

    Is there a way to force a user to read, or at least view,
    all sections of the Accordion Widget? We want to make sure the learner reads
    all of the material before advancing to the next slide. Is there a way to do
    this? I have searched all over, but I have been unable to find.

    No way. This is a static learning interaction, no event that could be used eventually. Personally I prefer offering reading material that is engaging over looking for a way to push the learner to look (reading doesn't mean he understands or grabs it) at all the stuff. But that is my teacher's past, if student doesn't read your stuff, something is wrong with the stuff, not with the student.
    If you have to force, you'll have to find another way than the accordion interaction .

  • How to force the user to enter a value in the prompt

    Is there a way to force the user to enter a value in the prompt before they run the report?
    We have a customer specific dashbaord. The user has to enter a customer number in Dashbaord prompt on a first page of the dashboard. We store that value in a presentation variable. That presenatation variable value is being referenced in all the other pages of the dashabord. If the user does not enter a values in the first page and directly navigates to the other pages on the dashbaord, the reports on the other pages start to run for all the customers. Is there a way to force the customer to enter a value in the prompt before running any of the reports on the dashboard?
    Thanks!

    by Answer prompts, do you mean Column prompt?
    I can not use Column prompt in this senario as the user should not have to enter the same customer number over and over again when he navigates from one page to another on the same dashboards. If there is a way to default the column prompts then this would be an acceptable solution.
    I have already defaulted the prompt to a value as suggested in hte blog, but the issues occurs when the user erases the defaulted value. Is there are way to set the default value within the report?
    Can you please explaing mroe about option 3 regarding Java Script. Also please let me know what other options there are so that I can check whether they will fit my needs.
    Thank you very much!

  • Forcing the user to select one of the OBIEE prompts?

    Hi All,
    Iam new to OBIEE I have a requirment in which I need to force the user to select one of the selection from prompts in OBIEE eg: you need to select one of the contry either India or America to get the other prompts enable and filter the report?
    Any help is highly appriciated.

    Hi,
    You can set a default value in your first dashboard prompt like 'please select a country' then if the user doesn't select something no result will be returned until he selects a valid value
    Then make the other dashboard prompts constrained.
    Regards
    Adil

  • Forcing end user to open the child form in the resource request dataset

    Hi,
    Is there any way where we can force end user to open the child form of a resource request dataset and enter the values for the attributes in the child form. The child form attribute is mandatory. However, currently, OIM allows user to submit the request without opening the child form and to enter values for child form attributes(which is mandatory).
    Thanks.

    Child dataset attributes are set to required="true". But it will come into picture only if end user opens the child form. If he forgets to open the child form, still he is able to submit request without entering values to the attibutes(whose required=true) in the child form. OIM is alowing to submit request if he doesn't open the child form.
    I hope i was able to put it in corrrect way.
    Thanks.

  • Forcing a user's password to be expired

    I am trying to test my customized change password page. I have updated the URL in the LS_CONFIGURATION table. How can I force a user to produce the change password page so I can test my customized change password page?

    Also, is there a way to force the user's password to expire upon first successful login and likely force the user to change the pre-assigned password? This is a requirement on the customer's wishlist.
    Chris, please let us all know if you get an anwer to your question. I can't be the only person who'd be interested.
    Mike

  • Force a user to enter a value for a parameter.

    Hi,
    I have a report with a bunch of parameters and I want to force the user to enter values for two parameters amongst all of them. Like for example when the user doesn't select values for those 2 parameters he should get a dialog box saying "please enter value for xyz parameter" or something like that, which will force the user to enter a value for the parameters before he can see the report.
    Please let me know if BI Publisher can do this.
    Thanks,
    DY

    Thanks for your replies BIPUser. I have recently started working on BI Publisher without a lot of help around.
    The information in the link is what I was thinking of, if there is no such feature I'll have a default value for those 2 parameters.
    Thanks,
    DY

  • Forcing a user to add attachement in wf ?

    hi,
    i have a workflow in which a user MUST attach a scanned document. well, how can i force a user to add this attachement. that means "no attachement = no continuing of workflow" !
    my workflow starts with a form where i can enter the form, but there it is not a "must".
    best reg, Martin

    hi martin,
    thank you as always ! you are doing great work in this forum !
    well, what i have thought of: an also 'clean' way is to force the user on the starting form ! the starting form generates a dynpro with the form-fields of the structure AND (on 3 further tabs) you can enter a note and attachements !
    isn't it possible to change that ? if there is NO attachement the workflow even can't start. i don't know where to do this ?
    b. reg, Martin

Maybe you are looking for

  • Delete requests in a infocube with infopackage

    Hi BW Gurus. I have to delete a request in a infocube during the loading and I would like to use the option "deleting request from infocube after update" inside the infopackage. The option "Selections are ...same or more comprehensive" is not what I

  • Video playback in ALL applications stutters while using battery only.

    Video playback in ALL applications stutters while using battery only. All OK when running from power adaptor. New battery did not fix. Recently updated iTunes to 11.0.5 and Flash player 11.8.800.94 .

  • Solved: Mac appears to hang when "Enter Time Machine..."

    I run TM and keep my sparse bundle on a Synology Diskstation NAS.  Since the begining in March 2011, my Mac has always appeared to hang after trying to "Enter Time Machine...."  I am now running Lion 10.7.2 and DSM 3.2-1944 and seeing the same issue.

  • Updated to Lion today and my printer's gone bonkers

    Hi, Sorry for the naive question.  Hoping you can help me - and thanks in advance, if so. I updated my iMac to Lion today and updated my printer drivers too. I have a Brother 5240 mono laser printer and used the suggested 10.7 driver upgrade. But bet

  • 5230 - alarm tone

    I hate the alarms on the 5230. I want to change it I have songs on the phone that I would like to use ..... can I do this? Thanks