8 нояб. 2010 г. · You can log-out the user by sending the KILL signal to the user-process with: sudo pkill -KILL -u <username> (which is same as sudo pkill -9 -u <username> ) |
19 июн. 2015 г. · My problem is that I can't logout myself at the end of this script. I need a way to do this without root privileges. Can someone help me? |
5 сент. 2020 г. · who or w command – Show who is logged on and what they are doing. · pkill command – Kill user session and forcefully logout of the system. |
2 дек. 2010 г. · Is there a terminal command that will log you out of your current desktop session and take you back to the login screen? |
13 июл. 2011 г. · I am looking for a user-friendly method that the owner of a computer can use to log off other users without having to restart. |
21 окт. 2017 г. · sudo pkill -9 -u {user}. would be correct for any Linux system. Users currently present can be shown with the w (/ who ) command. But do be ... |
11 июл. 2013 г. · SIGHUP (the hangup signal) will terminate the session more gracefully, almost as if the user had issued the logout command herself. SIGKILL ... |
18 янв. 2022 г. · Is there a way to determine the idle users (say x minutes of inactivity) and terminate their sessions using the command loginctl terminate-session <session-id> ... |
16 февр. 2022 г. · When a login shell exits, bash reads and executes commands from the files ~/.bash_logout and /etc/bash.bash_logout, if the files exists. |
26 авг. 2012 г. · This can be done using the gnome-session-quit command. It needs the --force option to suppress the confirmation dialog that would appear without it. |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |