LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 05-07-2001, 02:07 PM   #1
Diane Welch
LQ Newbie
 
Registered: May 2001
Posts: 2

Rep: Reputation: 0
Red face


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
 
Old 05-07-2001, 03:20 PM   #2
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
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
 
Old 05-07-2001, 04:30 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 05-08-2001, 07:03 AM   #4
Diane Welch
LQ Newbie
 
Registered: May 2001
Posts: 2

Original Poster
Rep: Reputation: 0
Smile user/group permssions

That worked like a charm, Alex. Thank you and trickykid.

Diane
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
user/group permissions prozac Linux - Newbie 4 11-20-2005 11:49 PM
How to set the permissions for a user Group? Akhran Linux - Newbie 6 11-14-2005 07:55 AM
User, Group permissions in Redhat Linux ES 3.0 majicrobot Linux - Security 1 09-25-2004 07:24 AM
user/group permissions for /var/www/html/ illtbagu Linux - Software 6 11-12-2003 05:29 AM
user and group ids - individual permissions? LooseCanon Linux - General 2 09-14-2003 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration