BackupPC-users

Re: [BackupPC-users] Not able to use the backuppc account in freebsd

2011-05-03 17:24:48
Subject: Re: [BackupPC-users] Not able to use the backuppc account in freebsd
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: Holger Parplies <wbppc AT parplies DOT de>
Date: Tue, 03 May 2011 16:23:02 -0500
On 5/3/2011 4:03 PM, Holger Parplies wrote:
> Hi,
>
> Les Mikesell wrote on 2011-05-03 15:14:08 -0500 [Re: [BackupPC-users] Not 
> able to use the backuppc account in freebsd]:
>> I'm surprised that sudo doesn't honor the user's shell.
>
> really? It's really not surprising. The semantics of sudo is "allow executing
> /exact/path/to/some/command as user X to user Y, possibly without password",
> not "allow executing<something>  that /some/random/shell would do when you
> type $some_random_string at its prompt", so sudo would use an execve() system
> call, not a user's login shell.

It's surprising to me, because I'd expect it to execute a command as a 
user by doing the same thing as if the user executed the command - which 
is going to depend on the shell parsing it.  That is, the same as su 
with the '-c command' option.  It's not 'some random shell', it's the 
shell the user would use.  But, you are right - it does something different.
>
> P.S.: I fully agree in advance with any responses.

Heh...


-- 
   Les Mikesell
    lesmikesell AT gmail DOT com


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
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/