If you want the user jason’s process detailsps -aux |grep jason
from the output just kill the process id of that user and that user will be out from the shell without any wall message for him/her.
By other way you can do following.
Task: How to halt/stop user called jason
Type the skill command as follows:
# skill -STOP -u jason
You muse be root to stop other users.
Task: How to resume an already halted user called jason
To send a CONT signal to user jason, type the following command:
# skill -CONT -u jason
Task: How to kill and logout user called jason
To send a KILL signal, type the following command:
# skill -KILL -u jason
Task: Kill and logout all users
The ultimate command to kill and logout all users, type the following command:
# skill -KILL -v /dev/pts/*
Please note that you should send users a warning message or a logout notice using the wall command to avoid data loss.
- Optimizing Keywords From Free Directory Submissions - June 15, 2007
- Why do I get an error when I try to send emails? - December 26, 2006
- My IP address is blacklisted. How can it be unlisted? - December 26, 2006