Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-07-2001, 02:07 PM
|
#1
|
|
LQ Newbie
Registered: May 2001
Posts: 2
Rep:
|
Help!
We've got a couple of mirrored Linux machines acting as servers for an ISP. (I must warn you: I am very much a Linux newbie.) I have gotten used to setting up regular new users, who just need to be able to access their web space, but now I have to deal with something new -- to me, that is.
We have our main website on an NT server. We have a company putting in some CGI scripts for the site. The person writing the CGI scripts is comfortable with Linux, but not with NT. I, too, have had trouble getting CGI scripts to work on an NT machine, and I have been putting the scripts on our Linux machines, and just pointing the forms to the cgi-bin on the Linux machines.
I have never tried to give anyone else permission to access the cgi-bin. I have created a user account, and put it in a group.
Now what????
Diane Welch
|
|
|
|
05-07-2001, 03:20 PM
|
#2
|
|
Member
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617
Rep:
|
you have to change the directory that you want this group to access.
type as root 'chgrp group /route/to/folder'
where group is the name of the group you want to give access to this folder.
i can;t remember if it is chgrp or some variation of that. type 'man chgrp' first. if you get a nice man page telling you bout it then you're sorted
now in this folder should be owned by the aforementioned group.
type 'ls -l' in the parent directory of the folder and check the permissions of the folder. it'll look something like this
dxrw-rw-r-
this would allow the user who owns the folder to execute, read and write and people in the group to read and write and others to read.
you want to make sure that only the user can read, write and execute, the group can read and write and execute (you can get rid of ne of these for the group if you think that group will never use it).
to stop others from being able to do nething type as root
'chmod o-rxw /folder/ '
that should do the trick.
please correct me if im wrong
:-)
Alex
|
|
|
|
05-07-2001, 04:30 PM
|
#3
|
|
Guru
Registered: Jan 2001
Posts: 24,128
Rep: 
|
Just to add, you can man chmod and read the manual pages on the chmod command and all of its options. But webtoe pretty much hit the spot.
|
|
|
|
05-08-2001, 07:03 AM
|
#4
|
|
LQ Newbie
Registered: May 2001
Posts: 2
Original Poster
Rep:
|
user/group permssions
That worked like a charm, Alex. Thank you and trickykid.
Diane
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:29 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|