I use terminal quite often, and every now and then I close a terminal session by using command+Q before I type exit to log out. This sometimes causes a problem of leaving my account logged in again via terminal, with no way of logging out that terminal session.
Example of what I have right now...
iMac:~:$> finger tag
Login: tag Name:
Directory: /Users/tag Shell: /bin/bash
On since Fri Jul 29 18:07 (EDT) on console, idle 9 days 8:32 (messages off)
On since Mon Aug 8 02:32 (EDT) on ttyp1
On since Thu Aug 4 21:29 (EDT) on ttyp3, idle 3 days 5:11
On since Thu Aug 4 21:39 (EDT) on ttyp4, idle 3 days 5:21
Last login Mon Aug 8 02:39 (EDT) on ttyp2
No Mail.
No Plan.
I can't access or log out of the sessions running on ttyp3 and ttyp4.
Now on my netBSD server if this happens I can easily run 'ps' to find and kill the shell tied to each of those logged on instances, but on my Mac, they don't show up for some reason. Does anyone know of a way to terminate all those active logins which I can't access?
Example of what I have right now...
iMac:~:$> finger tag
Login: tag Name:
Directory: /Users/tag Shell: /bin/bash
On since Fri Jul 29 18:07 (EDT) on console, idle 9 days 8:32 (messages off)
On since Mon Aug 8 02:32 (EDT) on ttyp1
On since Thu Aug 4 21:29 (EDT) on ttyp3, idle 3 days 5:11
On since Thu Aug 4 21:39 (EDT) on ttyp4, idle 3 days 5:21
Last login Mon Aug 8 02:39 (EDT) on ttyp2
No Mail.
No Plan.
I can't access or log out of the sessions running on ttyp3 and ttyp4.
Now on my netBSD server if this happens I can easily run 'ps' to find and kill the shell tied to each of those logged on instances, but on my Mac, they don't show up for some reason. Does anyone know of a way to terminate all those active logins which I can't access?