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 04-29-2010, 04:50 AM   #1
is_numeric
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Rep: Reputation: 0
User management


Ok guys I have just been given a Web Server and been told to become an expert over night!

First things first I decided to set up some user access levels so I have created a group. I need to grant access for that group to the web sites on the server. Every time I create a new user I just assign them to that 'developers group' and they should have RW access in order to administer the web pages.

How do I do this?

Im guessing its a CHMOD on the Group but cant find any walk throughs.
 
Old 04-29-2010, 04:58 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Couple of things that play into this: what is the groups name? Where in the
file-system do those web sites live?
Code:
chgrp -R developers /path/to/sites
chmod -R g+rwxs  /path/to/sites


Cheers,
Tink
 
Old 04-29-2010, 08:09 AM   #3
is_numeric
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks Tinkster for the prompt reply

Path is based on where I run the command from I guess or is it an absolute path from the highest level

so if I am above my HTML directory it would be

Code:
chgrp -R developers HTML
chmod -R g+rwxs  HTML
 
Old 04-29-2010, 08:28 AM   #4
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,550

Rep: Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898
Correct
The full path as in Tink's example just generally saves the headache of you have changed to the wrong directory.
 
  


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 Management winsock Linux - Security 4 03-22-2009 12:55 PM
User Management blu_alchemist Linux - Software 5 06-12-2007 03:27 PM
user management emalossi Fedora 2 07-21-2006 02:53 PM
User Management netwalker1 Linux - Software 2 12-07-2004 02:38 AM
help with user management... dawn_angel Linux - Distributions 0 08-19-2004 12:30 AM

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

All times are GMT -5. The time now is 04:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration