Leftover processes after users log out

Todd O'Bryan toddobryan at mac.com
Tue Jan 23 19:04:04 GMT 2007


I'm running Ubuntu 6.10 with the ltsp packages and have 2 quick
questions:

1. I'm having problems with users logging out, but leaving processes
behind. (These aren't zombie processes, they're listed as sleeping.)
Does anyone have a script that will kill processes owned by users who
aren't currently logged in than I can run as a cron job?

2. I noticed that ps -ef sometimes lists users by login name and
sometimes by uid and there doesn't seem to be a reason for it. Anyone
have any insight as to why? (P.S. I had some trouble creating users; one
person in particular seemed to exist in some in-between state such that
userdel said he didn't exist, but useradd said he did, so I don't know
if that could be the problem.)

Thanks,
Todd




More information about the edubuntu-users mailing list