![]() This protects the system against accidental damage such as that caused by my own stupidity and intentional damage by a user with malicious intent. ![]() Many Linux commands require the user to be root in order to run. ![]() So I write scripts to automate those tasks and use sudo to anoint a couple of users to run the scripts. Even when I am present, as the “Lazy SysAdmin,” I like to have others do my work for me. It is not that I cannot run the program myself, but I am not always there for various reasons such as travel and illness. Unfortunately, this organization has only a couple of people besides myself who have any interest in administering our audio and computer systems, which puts me in the position of finding semi-technical people to train to login to the computer we use to perform the transfer and run this little program. My program, wonderful as it is, needs to run as root in order to perform its primary functions. This nice little program has a few options such as -h to display help, -t for test mode and a couple of others. It also deletes all of the files on the USB drive after verifying that the transfer has taken place correctly. My program does a few other things, like changing the name of the files before they are copied so that they are automatically sorted by date on the web page.
0 Comments
Leave a Reply. |