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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-07-2005, 08:42 AM
|
#1
|
LQ Newbie
Registered: Feb 2005
Location: Asheville NC
Posts: 6
Rep:
|
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?
|
|
|
02-07-2005, 10:01 AM
|
#2
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
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.
|
|
|
02-07-2005, 01:26 PM
|
#3
|
LQ Newbie
Registered: Feb 2005
Location: Asheville NC
Posts: 6
Original Poster
Rep:
|
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.
|
|
|
02-07-2005, 01:52 PM
|
#4
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
The command for adding groups is "groupadd" and to see what groups are available on your system, just do "cat /etc/group".
|
|
|
02-08-2005, 06:58 AM
|
#5
|
LQ Newbie
Registered: Feb 2005
Location: Asheville NC
Posts: 6
Original Poster
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 09:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|