|
Search Tech-Forums - link takes you to our Forum's search page. Note: The following is only a text archive! To view the actual forum discussion, please visit our website at http://www.tech-forums.net Pages:1 Kick User in Unix(Click here to view the original thread with full colors/images)Posted by: pcschris Hello, Does anyone know a command to kick a user from Unix? We use a program that connects to the Unix server, and sometimes when it crashes the server still thinks someone is logged in even though they are not. If they were in the middle of updating a record, it will be locked until it times out (around two hours.) Sometimes the user account will also be locked for that time. Does a command to kick a user exist? Thanks, Chris Posted by: horndude you have to do a couple of things, first determine what processes they have started and use the kill command to stop them, and if this involves an X-session you would need to kill the PID and x-session lock for them, this needs to be done as root other thing you can do is use su to log in under their user name and then log them out, also needs to be done as root the who command will show who's logged in, ps x will show current processes running Posted by: macdude425 There's also a neat little app called slay that can kick users. Check it out. vBulletin Copyright ©2000 - 2003, Jelsoft Enterprises Limited. PPC Management vB Easy Archive Final - Created by Xenon |