[COMP] Re: newbie unix question...how do I change permissions of a user?
- From: John Madden <weez@xxxxxxxxxxxxx>
- To: computers@xxxxxxxxxxxxx
- Date: Sat, 27 Oct 2001 15:06:35 -0500
On Saturday 27 October 2001 04:44 am, you wrote:
> > > I changed the path in /etc/skel from /home/user to
> > > /home/user/www/cgi-bin
> >
> > Why?
>
> By default the server we have created /home/user
> cgi scripts could be run from anywhere- they didn't HAVE to go in the
> cgi-bin.
>
> Which would be ok...but I'd have to change the /path/to/the/script
> in each cgi script I uploaded to get em to work.
> (Also my users were complaining that they didn't know how to get em
> to work either)
> So I made sure all default homes had a www and cgi directory.
> Also I wanted each user to have a directory that was hidden-
> I suppose I could have made a /public and a /private directory...
> this seemed easier (and within my skills;)
Have you heard of Apache's suexec? It allows users to run CGI scripts
under their own UID. Note that you can't use it at the same time with
Frontpage extensions though (not that that's documented *anywhere*).
Basically, you allow them to execute CGI's from their
/home/$USER/public_html/cgi-bin directory, and if you've got suexec
support compiled into Apache, it's enabled automatically.
John
--
# John Madden weez@xxxxxxxxxxxxx ICQ: 2EB9EA
# FreeLists, Free mailing lists for all: http://www.freelists.org
# UNIX Systems Engineer, Ivy Tech State College: http://www.ivy.tec.in.us
# Linux, Apache, Perl and C: All the best things in life are free!
========================================
Avenir Web's Computers Mailing List
List Modes, Subscription, and General Info:
Go to http://www.freelists.org/cgi-bin/webpage?webpage_id=11
List Archives: http://www.freelists.org/archives/computers
Administrative Contact: weez@xxxxxxxxxxxxx
Get computer help: http://avenir.dhs.org
========================================
- References:
- [COMP] Re: newbie unix question...how do I change permissions of a user?
- From: John Madden
- [COMP] Re: newbie unix question...how do I change permissions of a user?
- From: David Bruce Jr
Other related posts:
- » [COMP] Re: newbie unix question...how do I change permissions of a user?
- » [COMP] Re: newbie unix question...how do I change permissions of a user?
- » [COMP] Re: newbie unix question...how do I change permissions of a user?
- » [COMP] Re: newbie unix question...how do I change permissions of a user?
- » [COMP] Re: newbie unix question...how do I change permissions of a user?
- [COMP] Re: newbie unix question...how do I change permissions of a user?
- From: John Madden
- [COMP] Re: newbie unix question...how do I change permissions of a user?
- From: David Bruce Jr