Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-29-2010, 04:50 AM   #1
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
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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

Old 04-29-2010, 08:09 AM   #3
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

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

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


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:21 PM.

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