I see the problem here..
http://unix.stackexchange.com/questions/364/allow-setuid-on-shell-scripts
I make some searching in the BackupPC_Admin (form debian package of backuppc and (is a exec file!!!).
I think that I will go to compile the file or better.. Use from the backuppc debian package ;)
On 2013-06-02 20:34, Eduardo Díaz Rodríguez wrote:
Hi every body.
After of some trys and have some servers in debian 6.0 release I upgrade my enviroment to debian 7.0
I wander to discover that the same permisions that use in debian 6.0 for run my BackupPC_Admin cgi-bin scripts is not valid anymore :(.
I don't know why.. is the same installation (I search in debian and see thats, is not perl-suid anymore)
This are my current permisions.
drwxr-xr-x 2 root root 43 jun 2 19:54 . drwxr-xr-x 4 root root 54 jul 26 2006 .. -r-sr-xr-- 1 backuppc www-data 3993 jul 15 2011 BackupPC_Admin
root@servidorvitrum:/datos/asdfasdf/dominios/asdfasdf.com/cgi-bin/gestion/backuppc# ./a My userid is 0 (root) root@servidorvitrum:/datos/asdfasdf/dominios/asdfasdf.com/cgi-bin/gestion/backuppc# ls -al total 12 drwxr-xr-x 2 root root 51 Jun 2 19:06 . drwxr-xr-x 3 root root 21 Jun 1 20:15 .. -r-sr-x--- 1 backuppc www-data 69 Jun 2 19:06 a -rwsr-x--- 1 backuppc www-data 3993 Jun 1 20:16 BackupPC_Admin -rw-r--r-- 1 root root 311 Jun 2 18:27 .htaccess
I know the "other alternatives" for use the interface (like run apache2 in backuppc user, but I want to keep the minimal changes of this... and I like this one because I have many services running in my home server... :(..
I like to know how anybody solve this issue in the new debian versions... ???
Thanks for your time..
-- =======================================================================================
Al aprendiz sin pelo, jodelo.
=======================================================================================
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
-- =======================================================================================
Al aprendiz sin pelo, jodelo.
=======================================================================================
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|