New answers tagged

1

I don't know if you're still looking for a solution, but your script helped me to get it right. The problem is that you think it is necessary to run it as the user that is logged in at the moment. First of all, this isn't necessary, and second of all, the way you do it is wrong, because the call to 'who' will reply with root as the script is executed as root....


Top 50 recent answers are included