BackupPC-users

[BackupPC-users] Dealing with setuid bit in debian wheeze 7.0

2013-06-02 14:37:13
Subject: [BackupPC-users] Dealing with setuid bit in debian wheeze 7.0
From: Eduardo Díaz Rodríguez <ediaz AT pk25 DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Sun, 02 Jun 2013 20:34:29 +0200

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/
<Prev in Thread] Current Thread [Next in Thread>