D
D
Danil2018-10-04 15:16:21
SSH
Danil, 2018-10-04 15:16:21

How to close the old user session when he logs in with a new one?

There is a user, there is a setting in the /etc/security/limits.conf file that prevents the user from logging in twice. But I need that when a user logs in twice, his old session is closed and a new one is opened. And now it's working backwards.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Shumkin, 2018-10-16
@ashumkin

tmux, screen?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question