On 23 Ago, 23:20, Steve Holden <[EMAIL PROTECTED]> wrote:
> billiejoex wrote:
> > On 23 Ago, 13:13, "Chris Mellon" <[EMAIL PROTECTED]> wrote:
> [...]
> >> Note that running your process as a user with enough priviledges to
> >> impersonate another user pretty much eliminates all the benefits of
> >
billiejoex wrote:
> On 23 Ago, 13:13, "Chris Mellon" <[EMAIL PROTECTED]> wrote:
[...]
>> Note that running your process as a user with enough priviledges to
>> impersonate another user pretty much eliminates all the benefits of
>> running as a low-priviledged user in the first place. Consider
>> re
On 23 Ago, 13:13, "Chris Mellon" <[EMAIL PROTECTED]> wrote:
> On 8/23/07, billiejoex <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On 23 Ago, 10:38, Tim Golden <[EMAIL PROTECTED]> wrote:
> > > billiejoex wrote:
> > > > Hi there. I'm writing a modification for a FTP server library I'm
> > > > maintaining
On 8/23/07, billiejoex <[EMAIL PROTECTED]> wrote:
> On 23 Ago, 10:38, Tim Golden <[EMAIL PROTECTED]> wrote:
> > billiejoex wrote:
> > > Hi there. I'm writing a modification for a FTP server library I'm
> > > maintaining.
> > > Depending on the system I'd want to temporarily impersonate the logged
>
On 23 Ago, 10:38, Tim Golden <[EMAIL PROTECTED]> wrote:
> billiejoex wrote:
> > Hi there. I'm writing a modification for a FTP server library I'm
> > maintaining.
> > Depending on the system I'd want to temporarily impersonate the logged
> > user to perform actions on filesystem.
> > Something like
billiejoex wrote:
> Hi there. I'm writing a modification for a FTP server library I'm
> maintaining.
> Depending on the system I'd want to temporarily impersonate the logged
> user to perform actions on filesystem.
> Something like:
>
> try:
> change_user('user', 'password')
> os.rmdir('di
Hi there. I'm writing a modification for a FTP server library I'm
maintaining.
Depending on the system I'd want to temporarily impersonate the logged
user to perform actions on filesystem.
Something like:
try:
change_user('user', 'password')
os.rmdir('dir')
except:
print "some error"
f