Go Back   MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 4, 2005, 02:12 PM   #1
nbs2
macrumors 68030
 
nbs2's Avatar
 
Join Date: Mar 2004
Location: A geographical oddity
admin log out of another user

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?
__________________
IDKTFG
nbs2 is offline   0 Reply With Quote
Old Apr 4, 2005, 03:41 PM   #2
wrldwzrd89
macrumors G4
 
wrldwzrd89's Avatar
 
Join Date: Jun 2003
Location: Solon, OH
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.
__________________
iMac Intel (Rev H, 27"), 1TB HDD, 16GB RAM, 10.8.4
wrldwzrd89 is offline   0 Reply With Quote
Old Apr 4, 2005, 03:46 PM   #3
nbs2
Thread Starter
macrumors 68030
 
nbs2's Avatar
 
Join Date: Mar 2004
Location: A geographical oddity
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?
__________________
IDKTFG
nbs2 is offline   0 Reply With Quote
Old Apr 4, 2005, 03:47 PM   #4
LeeTom
macrumors 65816
 
LeeTom's Avatar
 
Join Date: May 2004
...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.
LeeTom is offline   0 Reply With Quote
Old Apr 4, 2005, 04:21 PM   #5
nbs2
Thread Starter
macrumors 68030
 
nbs2's Avatar
 
Join Date: Mar 2004
Location: A geographical oddity
Quote:
Originally Posted by LeeTom
...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.
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?
__________________
IDKTFG
nbs2 is offline   0 Reply With Quote
Old Apr 4, 2005, 04:37 PM   #6
wrldwzrd89
macrumors G4
 
wrldwzrd89's Avatar
 
Join Date: Jun 2003
Location: Solon, OH
Quote:
Originally Posted by nbs2
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?
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.
__________________
iMac Intel (Rev H, 27"), 1TB HDD, 16GB RAM, 10.8.4
wrldwzrd89 is offline   0 Reply With Quote
Old Apr 4, 2005, 04:47 PM   #7
grapes911
Demi-God (Moderator emeritus)
 
grapes911's Avatar
 
Join Date: Jul 2003
Location: Citizens Bank Park
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>
grapes911 is offline   0 Reply With Quote
Old Apr 4, 2005, 04:50 PM   #8
mkrishnan
Moderator emeritus
 
mkrishnan's Avatar
 
Join Date: Jan 2004
Location: Grand Rapids, MI, USA
This thread has some suggestions (and kinda a lot of lip too ) that might work for you:

http://macslash.org/comments.pl?sid=...e=thread&pid=0

If logging all users out would work, there might be something la shutdown -k that would meet your needs, too....
__________________
Mohan
mkrishnan is offline   0 Reply With Quote
Old Apr 4, 2005, 04:53 PM   #9
grapes911
Demi-God (Moderator emeritus)
 
grapes911's Avatar
 
Join Date: Jul 2003
Location: Citizens Bank Park
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.
grapes911 is offline   0 Reply With Quote
Old Apr 4, 2005, 06:51 PM   #10
nbs2
Thread Starter
macrumors 68030
 
nbs2's Avatar
 
Join Date: Mar 2004
Location: A geographical oddity
Quote:
Originally Posted by grapes911
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.
Brilliant! Now only if there was a more intuitive method (not that I'm complaining about your suggestion).
__________________
IDKTFG
nbs2 is offline   0 Reply With Quote
Old Apr 4, 2005, 07:26 PM   #11
grapes911
Demi-God (Moderator emeritus)
 
grapes911's Avatar
 
Join Date: Jul 2003
Location: Citizens Bank Park
Quote:
Originally Posted by nbs2
Brilliant! Now only if there was a more intuitive method (not that I'm complaining about your suggestion).
I read your reply and I started laughing hysterically. I know what you mean. Its not the easiest, nicest, most elegant way do to it, but its all I know (and it works)
grapes911 is offline   0 Reply With Quote
Old Apr 4, 2005, 07:30 PM   #12
yellow
Moderator
 
yellow's Avatar
 
Join Date: Oct 2003
Location: Portland, OR
Quote:
Originally Posted by nbs2
Brilliant! Now only if there was a more intuitive method (not that I'm complaining about your suggestion).
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.
yellow is offline   0 Reply With Quote
Old Apr 4, 2005, 07:32 PM   #13
wrldwzrd89
macrumors G4
 
wrldwzrd89's Avatar
 
Join Date: Jun 2003
Location: Solon, OH
Quote:
Originally Posted by yellow
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.
That setting affects all users.
__________________
iMac Intel (Rev H, 27"), 1TB HDD, 16GB RAM, 10.8.4
wrldwzrd89 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
UI bugs for admin user only shrakner OS X Mavericks (10.9) 6 Dec 31, 2013 06:31 AM
Network Accounts are unavailable AND I cannot log in via local admin account laserfox Mac OS X 10.7 Lion 0 Apr 30, 2013 10:12 AM
Can't log in as admin OneEyed55 OS X 10.8 Mountain Lion 8 Dec 30, 2012 09:01 AM
How do I fix having two admin user accounts? macswitcha2 iMac 2 Jul 25, 2012 10:44 PM
Remote Managment - Log in as second user or independant of local user - possible? cymro OS X 5 Jul 2, 2012 04:31 PM

Forum Jump

All times are GMT -5. The time now is 05:55 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps