admin log out of another user

Discussion in 'Mac Apps and Mac App Store' started by nbs2, Apr 4, 2005.

  1. macrumors 68030

    nbs2

    Joined:
    Mar 31, 2004
    Location:
    A geographical oddity
    #1
    My fiance was using my computer the other day and forgot to log off. I created her account, so it wasn't a problem to log in and log her out (plus she said it was ok), but I was wondering if there is a way for the admin to log out other users from the admin account. I was looking around, and all I can find is information on how to kill processes. Any thoughts?
     
  2. macrumors G4

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #2
    I know that if you try to restart or shut down while other users are logged in, Mac OS X will ask for administrator permission to log out everyone in order to do so. I don't know of any way to do this without restarting or shutting down though.
     
  3. thread starter macrumors 68030

    nbs2

    Joined:
    Mar 31, 2004
    Location:
    A geographical oddity
    #3
    Yeah - the problem was I noticed I was running a little slower than normal and when I figured out the problem, I didn't have time to reboot. So, I guess my only option is to stay permanently aware of all the passwords for all users on my computer?
     
  4. macrumors 68000

    LeeTom

    Joined:
    May 31, 2004
    #4
    ...or just tell them to log out when they're done, and maybe turn off Fast User Switching so that when someone forgets, you can just log out and log in.
     
  5. thread starter macrumors 68030

    nbs2

    Joined:
    Mar 31, 2004
    Location:
    A geographical oddity
    #5
    Having them do it would be ideal. And logging out and in is too much work:). I am just curious though - is there a reason an Admin can't do what I'm trying to do?
     
  6. macrumors G4

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #6
    An administrator SHOULD be able to do this. There isn't any graphical user interface for it or command(s) to type in the Terminal that I know about. Now you've got me curious too.
     
  7. Moderator emeritus

    grapes911

    Joined:
    Jul 28, 2003
    Location:
    Citizens Bank Park
    #7
    Easy, it won't save anything, but this works.

    1. In the Terminal
    2. ps -aucx grep mac7
    3. Find 'loginwindow' associated with the user you want to logoff
    4. Get the PID of that 'oginwindow'
    5. sudo kill -9 <PID>
     
  8. Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #8
  9. Moderator emeritus

    grapes911

    Joined:
    Jul 28, 2003
    Location:
    Citizens Bank Park
    #9
    Oh, if you want graphical (yuk), you can open the Activity Monitor in Applications/Utilities. Make sure you are showing 'All Processes' and find the 'loginwindow' that goes with the user you want to quit. Select it and go to 'Quit Process' up above. You may need to enter your password.
     
  10. thread starter macrumors 68030

    nbs2

    Joined:
    Mar 31, 2004
    Location:
    A geographical oddity
    #10
    Brilliant! Now only if there was a more intuitive method (not that I'm complaining about your suggestion).
     
  11. Moderator emeritus

    grapes911

    Joined:
    Jul 28, 2003
    Location:
    Citizens Bank Park
    #11
    I read your reply and I started laughing hysterically. :D I know what you mean. Its not the easiest, nicest, most elegant way do to it, but its all I know (and it works)
     
  12. Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #12
    Your lady's login -> System Preferences -> Security -> Log out after X minutes of inactivity.

    I have no idea if this is a global change, or relegated to the user (and I'm too lazy to test), plus I don't know if it will function if you're already FUS'd to the login screen. But it's worth a shot.
     
  13. macrumors G4

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #13
    That setting affects all users.
     

Share This Page