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.

Similar Messages

  • 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.

  • Anyway to force FTPS only for FTP

    Is their anyway to force my users to use FTPS vs FTP. I do not see this
    as an option in the restrict.txt. This server is behind a firewall but
    I do not see how I could restrict this via the firewall. Anyone have
    any idea if this is possible.

    Originally Posted by knoke
    Andrew Knoke wrote:
    > Is their anyway to force my users to use FTPS vs FTP. I do not see this
    > as an option in the restrict.txt. This server is behind a firewall but
    > I do not see how I could restrict this via the firewall. Anyone have
    > any idea if this is possible.
    I think I have figured out this question. Although I now have another
    question. I can force secure connections via the ftpserv.cfg file.
    My new question is I would like force all of my users to connect using
    FTPS except a few accounts which are mainly scanners that AFAIK will not
    do FTPS. Is it possible to make exceptions like this based on account
    or IP or do I actually need to setup another FTP server.
    Thanks
    Andy
    Sorry, there is not a way to tell NWFTPD that some users must use FTPS and other users can use regular FTP. It's an all-or-nothing kind of setting.
    Gathagan suggested SFTP/SSH, which is a good option, but I suppose your scanners might not do that, either. But you could set NWFTPD to only allow your scanner users (regardless of which protocol it is) and let NWFTPD support regular FTP, and tell all your other users to use SFTP (part of SSH) instead. You'd essentially get your desired end results, though you have to administer 2 services to get it done.

  • NTLM - anyway to force credential prompt ?

    Hi all,
    I am using NTLM auth on a website and an applet that is used needs to connect back and retrieve images and issue commands at the users discretion.
    I am finding that in some instances, when the applet initializes (and fetches the first images) it will prompt the user to enter the NT authentication credentials, but not in other instances. In the latter case, the applet always obtains and sends the current logged in credentials instead (and subsequently fails to retrieve the right images).
    This same applet (since 1.4.2) has been working fine, always prompting the user, however within the last couple months it has stopped doing this reliably.
    I think this happenned around the time of 1.5.11 update, however i cannot be sure since in many cases, the account i am testing with exists on all tmachines and the fact that the authentication credentials used were "wrong" is only visible by examining the server logs.
    Is there anyway to force the applet to ALWAYS prompt the user for credentials - or failing that use the credentials used by the browser for that same site ?
    Thanks in advance.

    I don't have a ton experiencing using something like ARR, but we should do some testing.  The first thing I would try is to route around the ARR in the DMZ and connect directly to Exchange from externally.  This SHOULD let us know where the problem
    lies.  If it succeeds (no auth prompts) then the issue is on the ARR and not Exchange.  If it fails, then the issue is with the ARR and that needs to be looked at a little more clearly.
    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

  • 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>

  • Touch screen stopped working. Is there anyway to force a full backup of the iPhone without typing in my passcode lock or is there anyway to force it to connect to a WiFi network so the phone can backup to iCloud??

    Hello all, I could use some help with my iPhone 4, I hope this is the best place to ask!
    The Problem:
    I want to do a full backup of my iphone to either itunes or to icloud. Unfortunately the iphone got wet and isn’t working properly. The phone turns on and still works, but the touch screen no longer works. I have a passcode lock on the phone so iTunes will not allow me to backup it up until I type in the passcode (which I cannot physically do). WiFi had been turned off before it got wet so it won’t connect to any known WiFi networks either to backup automatically to iCloud.
    What happened:
    I had been travelling for 6 months and went tubing on a river with my iphone in a dry bag. Unfortunately the dry bag failed and filled with water ruining my iphone.
    What I’d like to do:
    It’s an old phone and I was planning on buying a new iPhone anyway. I would love to do a full backup to either iCloud or to my computer so when I get a new iPhone I don’t lose anything. I’ve already connected it to my PC and downloaded all the photos and videos off the phone so at least I haven’t lost that, but I would like to be able to recover all the text messages, WhatsApp messages and notes I had created during my 6 months of travel.
    The last time it was backed up to my pc or to icloud was in April, so there are 6 months worth of very meaningful data I would love to keep to remind me of my travels!
    Is there anyway to force a full backup of the iPhone without typing in my passcode lock or is there anyway to force it to connect to a WiFi network so the phone can backup to iCloud??
    iTunes recognizes the phone just now and I tried upgrading the phone to iOS7 in the hopes that it would first backup and then upgrade. Unfortunately all that happened is the phone upgraded to iOS7, but it didn’t backup to iTunes. Now the phone is stuck at the iOS7 welcome screen and I can’t do anything else with it.
    Any ideas or tips would be welcome!
    NOTE: This is NOT a jailbroken iPhone.

    If there is no other way around this, is there anyway to completely wipe the phone then??
    The Apple store agreed to give me a new iPhone 4 as a warranty replacement for $150 (I travel a lot and I have a factory unlocked phone, so this is still worth it for me).  But before I trade it in, I would like to make sure all my data is backed up on the device first.
    When I try and restore the phone now on iTunes, it says I have to turn off Find My iPhone on the phone first before I can restore it.  Now since I can't use the screen I can't really do that.
    So how do I completely wipe the iPhone???
    Thanks!

  • 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

  • Forcing a user to only input numbers

    Hey guys! I am writing the code for a game of NIM as an assignment. However, i am having trouble in forcing the user to only input certain things, in this case they are only allowed to enter a number that is less than the total ammount of stones in the pile, but greater than 0 (i.e 1 or more). Now this works fine, and if they enter a letter the NumberFormatException catch handles it fine, but what i am having trouble with is when they enter nothing. They just hit return without actually entering a number. This causes they game to accept that as their turn and go to the next players turn. How would i go about forcing the user to input something. Also if you can give me any clues as to how to make this wny more efficent, it would be very much appreciated! Thank you for your time!
                   do {
                        if ((userStoneChoice > pileTotal) || (userStoneChoice < 1)) {
                             // if the users choice is greater than the ammount of stones in the pile, force them to enter a new number.
                             System.out
                                       .println("Sorry, but there are "+ pileTotal+ " stones in pile "+ pileNumber+
    ".Please ensure you choose a number with that range.");
                             userStoneChoice = Integer.parseInt(in.readLine());
                        } else {
                   } while ((userStoneChoice > pileTotal) || (userStoneChoice < 1));

        private void doUserMove(){
            try{
                userStoneChoice = getUserStoneChoice();
            }catch(IOException ex){
                ex.printStackTrace();
        private int getUserStoneChoice() throws IOException{
            int choice;
            do{
                choice = 0;
                String str = in.readLine();
                try{
                    choice = Integer.parseInt(str);
                }catch( NumberFormatException ex ){}
                if ( choice > pileTotal || choice < 1 ){
                    // if the user's choice is greater than the ammount of stones in the pile,
                    // force them to enter a new number.
                    choice = 0;
                    System.out
                            .println("Sorry, but there are "+ pileTotal+ " stones in pile "+ pileNumber+
                            ".Please ensure you choose a number with that range.");
            } while( choice == 0) ;
            return choice;
        }

  • Report that Forces a User to Input a Date Range

    Greetings,
    I am generating a work times report and would like to force the user to select a date range when the report first opens. This would pull only the data for the specified range from my database.
    I prefer drop down lists or calendars, but am wondering if this is possible.
    I guess one other important element is that I would like to "dumb down" the interface, so the user of the report does not have access to all of the features of the program.  Basically I only want them to have read privileges.
    I'm new to CR, so would appreciate any guidance.
    Thanks
    Peter

    Here is what the Help system has to say about the read only feature:
    You can make a report, section, area, or object read-only so it can't be formatted.
    When you set this option, choices in the Format Editor become inactive.
    The formatting options that are usually available on the toolbars or shortcut menus are also suppressed for the report or object.
    Note:    This feature is for your convenience in protecting report formatting; it is not intended to be used as report security.
    Also, if you want the user to be prompted for parameter values each time they open the report, take the check mark out of the
    "Save Data with Report" option.
    Jason

Maybe you are looking for

  • How can I set OWA to use Public by default and hide that section from OWA?

    I have an Exchange 2013 deployment that needs a customized OWA page.  I've already run Set-OwaVirtualDirectory "ex1\owa*" -LogonPagePublicPrivateSelectionEnabled $True to show the Public option.  I've also edited the logon.aspx file to set the checkb

  • Unlinking two iPhones that currently have the same Apple ID

    My parents accidentally used the same Apple ID for both of their iPhones. How can I unlink their accounts and create two different, unique Apple IDs for each of their iPhones? And without losing what is currently saved to the iCloud (some of the info

  • Issue in ALV-urgent

    Hi All, i have a following requirement. i am displaying ouput using alv list display. here i an showing my own pf status in this pf status i need threee buttons 1. sorting (both ascending and descending) 2.position <- purpose of this button is : when

  • Zen Micro Photo bugs need to be worked out - firmware update comi

    Hi, I've had my Zen Micro Photo 8gb for a month & have discovered some interesting quirks: first, I don't believe mine is defecti've, though I've had problems. I have encountered freezing on both the "Zen Microphoto" logo and "rebuilding library" scr

  • RMAN-03002 RMAN Error !

    Hello,For testing purposes I am duplicating my database from 11gR1 to 11gR2 on Windows XP. The Oracle Sid of my database SOurce, which is in 11gR1 is : DB01. The Oracle Sid of my auxiliary database , which is in 11gR2 is : DB02. I am using RMAN for t