Hi.

On Sat, 4 Apr 2015 09:04:53 +0200
Petter Adsen <pet...@synth.no> wrote:

> On Fri, 03 Apr 2015 12:30:45 -0400
> The Wanderer <wande...@fastmail.fm> wrote:
> > Not necessarily as easy as you might think. You'd need to be careful
> > to make sure that nothing got autostarted (or left running on logout)
> > which would try to access files under /home/*/ - and though I don't
> > know of anything offhand which would necessarily do that, I wouldn't
> > want to assume that nothing would.
> 
> If you are running Jessie, you can use "loginctl terminate-user USER",
> and if there is anything left, "loginctl kill-user USER". For Wheezy I
> don't know, though.

pgrep -lU $USER

pkill -TERM -U $USER

pgrep -lU $USER

pkill -KILL -U $USER

Be universal. Don't depend on systemd for such easy task.

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20150404120609.e9b15ae02a536e3bef714...@gmail.com

Reply via email to