LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-23-2005, 09:24 AM   #1
bowie101
Member
 
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 09:49 AM.
 
Old 11-23-2005, 10:33 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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, 12:42 PM   #3
bowie101
Member
 
Registered: Nov 2005
Distribution: FC4 & RHES
Posts: 105

Original Poster
Rep: Reputation: 15
thanks alot!
 
  


Reply



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

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

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

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