Results 1 to 5 of 5

Thread: Log off user via CLI

  1. #1
    blozancic is offline Intermediate Member
    Join Date
    Aug 2008
    Posts
    21
    Rep Power
    6

    Default Log off user via CLI

    My boss was showing Zimbra off to a potential client and forgot to log off the web session. I rebooted the server and saw that his session was still active. Is there a way to log him off using the CLI?

  2. #2
    Rich Graves is offline Outstanding Member
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    718
    Rep Power
    9

    Default

    I don't know about the specific session, but you can lock out the account with zmprov ma theboss zimbraAccountStatus closed

    Periodically grep mailbox.log and, when you see the session die, zmprov ma theboss zimbraAccountStatus active

    Or you could iptables -I INPUT 1 -s their.ip.address -j DROP

  3. #3
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Hmm, that is a odd one as I would have thought ZCS would have cleaned down all status tables when it is shutdown. It would be useful if you were to update your profile with the following output so we can see which version of ZCS you are running
    Code:
    su - zimbra
    zmcontrol -v

  4. #4
    blozancic is offline Intermediate Member
    Join Date
    Aug 2008
    Posts
    21
    Rep Power
    6

    Default

    uname -a
    Linux mail.edited.com 2.6.24-19-server #1 SMP Wed Aug 20 23:54:28 UTC 2008 i686 GNU/Linux
    Release 5.0.12_GA_2789.UBUNTU8 UBUNTU8 FOSS edition

    Additionally, I was logged onto it from my mac w/ Safari and when I got in this morning I was still logged in.
    We do have it set to log off after 2 days of inactivity, the default.

  5. #5
    veronica is offline Outstanding Member
    Join Date
    Jun 2008
    Posts
    594
    Rep Power
    8

    Default

    You can do this in Firefox. You need to go to Tools ---> Clear Private Data ---> Click cookies so that everytime you close browser it clears the cookies.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] mysql.server not running
    By king0770 in forum Administrators
    Replies: 23
    Last Post: 07-25-2009, 03:07 PM
  2. Does the system log user delivery filters?
    By bowergo in forum Administrators
    Replies: 1
    Last Post: 06-30-2008, 07:33 AM
  3. Error loading on Mac OS X 10.4.10 server PPC
    By qprcanada in forum Installation
    Replies: 7
    Last Post: 10-26-2007, 06:25 AM
  4. The mailbox and mta dies in FC4 GA version
    By meikka in forum Installation
    Replies: 72
    Last Post: 03-16-2006, 05:30 PM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •