LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-25-2002, 06:56 PM   #1
MikeeX
Member
 
Registered: Mar 2002
Distribution: Ubuntu 6.10
Posts: 165

Rep: Reputation: 30
Creating A Group


How do I go about creating a group with administrative privliges so I don't have to use root so much. Is this a common thing people want to do, or do people say "its insecure to have a user have as much rights as root" hehe

TIA
 
Old 04-25-2002, 08:00 PM   #2
akohlsmith
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 114

Rep: Reputation: 15
groupadd

man groupadd

create your group and then give users "membership" in the goup.

This doesn't do shit for security, however. What it allows you to do is make filesystem permissions easier to manage.

For example: there are 5 people in your company: bob, mary, sue, tom and mark. bob, tom and sue are developers and they would like to have a directory to store all of their development data. mary and sue are also in charge of the books. They would like to be able to have a place to share accounting data and not worry about anyone else seeing what goes on in the books.

so you create two groups, coders and books. Then you give bob, tom and sue membership in group "coders" and sue and mary membership in "books".

Now create a /development and an /accounting directory. Change the ownership to bob.coders and mary.books, respectively. Change the permissions to 770 (rwxrwx---).

Now anyone who is part of the coders group can access the /development directory, and anyone part of the books group can get into the /accounting directory. If you're not part of one of these groups (or not root), you can't even list files in the directory.

This is a *very* simple example. You may want to visit a library and see if you can't locate a few introductory unix books or google around -- there is a lot of power in groups that any post won't be able to give all the info on.
 
  


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
creating a new group for CDRW xucaen Debian 2 09-26-2005 11:24 AM
NAGIOS/Suse.9 : Creating User/group siobhan_2004 Linux - Newbie 1 08-04-2004 03:49 PM
Creating a group hierarchy? statuszero Linux - Security 5 07-16-2004 03:18 PM
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 04:01 PM
creating file /aquota.user and /aquota.group?? deepika Linux - Newbie 1 10-09-2003 03:15 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration