Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if the network is cut off under Linux but the user does not log in?

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

The content of this article mainly explains "what to do when the network is cut off under Linux but the user does not log out". Interested friends might as well take a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "what to do if the network is cut off under Linux but the user does not log in?"

When we are operating the Linux system, sometimes the network is cut off but the user does not log out, so we need to use logout to deal with it. The following editor will introduce to you the method of logging out users under Linux. Let's learn about it.

Often when operating Linux, the network is occasionally cut off or when operating the server in an intelligent multi-line environment, it is often disconnected, but the user login process is there again and does not exit.

A simple way to log out of a user that is already logged in.

The code is as follows:

[root@kiccleaf ~] # who

Root pts/1 2014-06-04 12:07 (27.115.room.*)

Root pts/2 2014-06-04 13:31 (58.247.room.*)

Root pts/3 2014-06-04 13:42 (58.246.room.*)

Root pts/4 2014-06-04 13:56 (140.207.room.*)

Root pts/5 2014-06-04 14:01 (140.207.room.*)

# end some logged-in users

[root@kiccleaf] # pkill-kill-t pts/1

At this point, I believe that everyone has a deeper understanding of "what to do when the network is cut off under Linux but the user did not log in". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report