LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-07-2005, 08:42 AM   #1
doubleyewjay
LQ Newbie
 
Registered: Feb 2005
Location: Asheville NC
Posts: 6

Rep: Reputation: 0
add_groups problem


After login, as root or user, the first line to appear warns me that "add_ groups" is an invalid argument. I've searched for add_groups thinking I might have a variable out of whack in one of the config scripts but it only appears in a few binary files.
I'm pretty sure I have my groups screwed up after trying to give user's access to cdrom and audio, I can't figure out what the default setup was for my slackware install.
Is there a simple explaination for how groups work and how to set them up or repair damage?
 
Old 02-07-2005, 10:01 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
Easyest way to add users to groups is by editing /etc/group file. There is also a backup file /etc/group- , you may want to have a look at it.
 
Old 02-07-2005, 01:26 PM   #3
doubleyewjay
LQ Newbie
 
Registered: Feb 2005
Location: Asheville NC
Posts: 6

Original Poster
Rep: Reputation: 0
I can add users to groups ok, but the disconnect I'm having is that I don't know which groups to add a user to. I also can't make sense of how an application checks permissions for a user.
I guess I'm looking for less of a HowTo and more of a How Does or a Why Does.
 
Old 02-07-2005, 01:52 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
The command for adding groups is "groupadd" and to see what groups are available on your system, just do "cat /etc/group".
 
Old 02-08-2005, 06:58 AM   #5
doubleyewjay
LQ Newbie
 
Registered: Feb 2005
Location: Asheville NC
Posts: 6

Original Poster
Rep: Reputation: 0
I can add groups, add users to groups, etc...
But how do I know that I need to?
For example:
If my daughter wants to watch a DVD, she would plug one in to see "Access Denied: Root permission needed" or some such message. How does an access denied message lead me to give her the correct permissions?
 
  


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
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 08:45 PM

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

All times are GMT -5. The time now is 09:42 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