Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > running web script with the permissions of the authenticated systemuser

Reply
Thread Tools

running web script with the permissions of the authenticated systemuser

 
 
Haim Ashkenazi
Guest
Posts: n/a
 
      09-09-2004
Hi

A client of mine wants me to write a simple web interface for qmail's
autorespond. this means that a user must authenticate with his system
user/password, and then make some changes to the files on the user home
directory. since this is done through NIS, it can't be done as root, and
must be done as the user.
I have 2 problems to solve:
1. authentication: the user must authenticate as a NIS user. this can
be done by apache, but the module to do that is still alpha. I prefer to
make it inside the script.
2. the script must run as the user authenticated. I can make it run as
root and run system commands with 'su' but I was wondering is there a
module in python to handle it.

any ideas?

thanx
--
Haim


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Process with Current Authenticated User Ron ASP .Net Security 2 08-19-2006 02:38 PM
Running Process as Current Authenticated User GoneRural ASP .Net 1 08-18-2006 07:56 PM
ASPX file returning obscur runtime error - after changing permissions to a subweb (.net app) to different permissions than on its parent ? Isabelle ASP .Net 0 08-11-2004 02:04 PM
Re: Permissions - giving "everyone" full permissions is bad ? Scott Allen ASP .Net 0 07-13-2004 08:54 PM
Prevent a page in an authenticated application from being authenticated Abhijit ASP General 0 04-12-2004 02:10 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57