26 Aug
2006
26 Aug
'06
14:01
Hylton Conacher(ZR1HPC) wrote:
stephan beal wrote: I fully see the point in going to single user mode and then back to X, sort of. I would, similar to the OP, like to know how it is possible to close a login of a single user ie can I use 'kill -9 [pid]', or 'kill [username]'?
And before someone points me there I have RTFM and seen that the above commands cannot be done.
I think the OP wants to 'kill' a user and is posibly misguided by the kill command. Can anyone comment on the use of ps to close the login of another user WITHOUT having to logout and in again courtesy of init 3/5?
If it's a remote user, just kill their ssh pid. If it's a local user, just kill their bash pid.