Re: How to switch to a lot of different users with suexec?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks a million, Joshua. I'll certainly try it out.

liyushe

On 9/26/07, Joshua Slive <joshua@xxxxxxxx> wrote:
> On 9/26/07, Liyu,She <liyushe@xxxxxxxxx> wrote:
> > Dear all,
> >
> > I am trying to write a configuration file with which I can allow users
> > of the same group(freeos) have their own homepages and cgi-bin
> > directories for them to execute their own cgi programs. So I tried
> > suexec, but here comes the problem - suexec can only switch to a
> > certain user, as far as I know, and it needs the directories, which
> > these users' cgi programs are in, and the cgi programs to be exactly
> > owned by the USER and GROUP specified by SuexecUserGroup in the
> > context of VIRTUALHOST in http.conf.
> >  So how could I make sure that each user execute their own program as
> > themselves, not as apache/daemon? Could anyone tell me? Thank you so
> > much.
>
> suexec operates in two modes. The first is, as you described above,
> one user per virtual host. The second is through mod_userdir. Using
> that technique, any cgi in a http://example.com/~user/ directory can
> be executed under the permissions of the user. See:
> http://httpd.apache.org/docs/2.2/suexec.html#usage
>
> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>


-- 
http://bbs.stu.edu.cn/cgi-bin/bbsqry?userid=sly

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux