Do I always should add my user to some system groups?
Linux - NewbieThis 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!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I can give you an example, Debian Lenny. If I create new user and won't add him to audio group he wont be able to hear anything from sound card.
When you create new user you also create new group with the same name. Adding to other groups is a matter of need.
For example I create new user in the system. Do I always should add it to groups like
If you want sensible advice, you are going to have to tell us a bit more:
For example, are you talking about a server with hundreds, or thousands users (we do get these on LQ sometimes) or is this just your "Family PC"?
Who uses it?
How (one at a time, or all at once)?
What for (Email, watching videos, WP)?
Login as the "install" user (the first one you created).
Find out what groups you are in with the groups command.
Now (as root) add your newly created user to all the same groups: Then, everything will work as you are used to, with your second username. You can use the GUI [System - Administration - Users & Groups] or the command line to do this. The GUI is "easier", but the command line is handy if you get yourself into a muddle.
It is best not to change permissions on devices ( /dev/whatever ), but to manage access rights with the groups as set up by your distro (ubuntu).
If you were creating a user account for one of your children, I'd advise against granting them membership of administration groups, because they could then break your OS [let's face it - as the "Family Sysadms" we don't really care what they do in their home dirs, we do care about the system booting and running properly for everyone else].