On 8/28/10 7:01 AM, Xuo wrote:
> Hi,
>
> I would like to notice a behavior that (I think) should be modified.
> By default, my ping and ssh executables have the following file attributes :
>
> -rwsr-x--- 1 root ntools 34920 2010-04-18 12:31
> /bin/ping
>
> -rwxr-x--- 1 root ntools 360896 2010-06-07 22:17 /usr/bin/ssh
>
> The cgi interface displays a red warning which says that the files are
> not executable for user backuppc.
>
> This would be true if backuppc was not in the unix group ntools.
> On the command line, I can run any of these commands when I am logged in
> as user backuppc.
>
> To bypass the problem, I modified the file attributes as :
>
> -rwsr-xr-x 1 root ntools 34920 2010-04-18 12:31
> /bin/ping
>
> -rwxr-xr-x 1 root ntools 360896 2010-06-07 22:17 /usr/bin/ssh
>
> But I think that the warning should not appear.
> I did not try to run any backup while the warning was displayed. It is
> possible that this does not prevent backuppc from doing its job.
The web interface starts as your httpd/apache user and becomes backuppc through
the suid setting on the perl script. I'm not sure if the additional groups
would still follow the original apache user or the effective backuppc user, but
I think the former. The server side would be started as backuppc so this
would
only affect the web interface.
--
Les Mikesell
lesmikesell AT gmail DOT com
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users
worldwide. Take advantage of special opportunities to increase revenue and
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
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/
|