at: job name should be displayed in output from `ps'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
at (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Make a simple bash script:
#!/bin/bash
# a script called mess.bash
while :
do
date >>/tmp/mess.lst
sleep 1
done
----snip----
Run this interactively and you can tail /tmp/mess.lst until you end the job, but if you: at -f mess.bash now, then you get something that goes forever and cannot be stopped by mere mortals, apparently. If you kill with atrm jobno, that job goes away, but the /tmp/mess.lst continues to be written to until you reboot. It shows no listing that I am able to discern on ps auxw output. I have tried it on both server and desktop, and it fails the same way. Presumably this is a security problem also, as it someone does break in, they can easily install a worm that will never be seen be either a novice, or a fairly experienced user like myself.
summary: |
- at obfuscates script names + at: job name should be displayed in output from `ps' |
Looks like it actually shows up as just plain "sh" in ps auxw. Too bad it could not be seen as the name of the script. Very hard to find.