smheidrich / kitphysikpool-logout

logs you out of all other shared KIT physics department computers ("Poolraum-PCs")
0 stars 0 forks source link

Figure out if LOGOUT_SCRIPT can be simplified #11

Closed smheidrich closed 8 years ago

smheidrich commented 8 years ago

More precisely if it can be reduced to pkill -u "$(id -u)". My concern is that this could lead to the kill process being stopped before it has killed everything when its parent bash process is killed. Unless it has protection against that and kills itself and its parent processes last - I don't know.

smheidrich commented 8 years ago

Doesn't look like it: http://unix.stackexchange.com/q/290710/68864