Luca Ferrari said: > Hello, > I'm developing a perl CGI as a front-end to tar. I'd like to use it as > an interface for tape backups on my server, but I've got several > questions that I hope someone can answer to: > 1) how to give root permissions to my CGI, thus it can read all data > it must backup? > 2) since I'd like to use tar in multi volume mode (-M), how to catch > within the CGI the end of a tape, so to require to the user a new tape > and to restart tar on the new tape? > 3) how to keep a trace of all data contained in each tape? In other > words, how to save the output of tar depending on the tape number? Perhaps you want to have a look at how that is all done in Webmin: http://www.webmin.com/ -- Scott - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html