I would like to be able to have a non-root user login to the system, cancel a print job or entire queue for that matter, and be logged out after canceling the print job/queue.
My thought: is there a way to create a generic login....attach/or run a script within say the .profile that prompts the user for their print queue, in my case HP01, HP02, etc., and issue a "cancel HP01" based on their input of HP01. Once this is executed they would select an item 3.)Exit or type EXIT and they would be logged out. Only draw back I see is that they would be able to CTRL-C out of the script and still be logged in???? Any ideas?
Thanks
David
My thought: is there a way to create a generic login....attach/or run a script within say the .profile that prompts the user for their print queue, in my case HP01, HP02, etc., and issue a "cancel HP01" based on their input of HP01. Once this is executed they would select an item 3.)Exit or type EXIT and they would be logged out. Only draw back I see is that they would be able to CTRL-C out of the script and still be logged in???? Any ideas?
Thanks
David