Wie kann ich in Linux einen User ausloggen bevor ich versuche ihn zu löschen?
root@webhoster:~/webhost# deluser toni
Removing user toni' ...
Warning: group toni' has no more members.
userdel: user toni is currently used by process 53702
/usr/sbin/deluser: /sbin/userdel toni' returned error code 8. Exiting.
root@webhoster:~/webhost#
Der Prozess 53702 ist sshd.
root@webhoster:~/webhost# ps aux | grep 53702
toni 53702 0.0 1.0 17300 5748 ? S 11:37 0:00 sshd: toni
root 55864 0.0 0.3 3468 1792 pts/1 S+ 12:26 0:00 grep --color=auto 53702