Register a domain and help support LQ
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 11-23-2005, 10:24 AM   #1
Registered: Nov 2005
Distribution: FC4 & RHES
Posts: 105

Rep: Reputation: 15
creating groups, adding users, and setting permissions

Hi. I'm a newbie, of course, with a newbie question.

We have a Red Hat enterprise server. I want to create a group called "web", that gives access to the apache part of the server, and only the apache web server part. I'd then like to add preexisting users to it, giving them some of the groups permissions, but not all (excluding access to certain subdirectories or something).

How do I do this?

I've looked and whenever I look for directions on creating groups, I run into the basic instructions for creating a new user, and they also belong to a group of the exact same username, and changing permissions, etc.

But I'm talking about new groups, with various levels of permissions. Maybe my searches in the past were faulty.

Please help me out. Thanks, Bowie101

Last edited by bowie101; 11-23-2005 at 10:49 AM.
Old 11-23-2005, 11:33 AM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
You use groupadd, to create a new group and "usermod -G group1 group2 etc" to change the groups that a user belongs to. I find it easier to just edit /etc/group and add individuals to a group than to use usermod. Use chmod for setting permissions on files and directories.
Old 11-23-2005, 01:42 PM   #3
Registered: Nov 2005
Distribution: FC4 & RHES
Posts: 105

Original Poster
Rep: Reputation: 15
thanks alot!


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
problems with setting permissions for groups of files liontamer13 Linux - Newbie 5 03-10-2005 01:16 AM
users/groups and permissions.... muman Linux - Newbie 2 09-21-2004 12:20 PM
users, groups, and permissions mcd Linux - Newbie 3 05-26-2004 10:06 PM
Users, groups, permissions - specific task question Doctafonk Linux - General 2 04-21-2004 10:05 PM
Saving users, groups and permissions in Red Hat 9 ferrantepunto Linux - Software 2 12-03-2003 02:26 PM

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

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