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!
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.
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.
People have told me that I shouldn't use the root for daily use, but is it ok to make my account on have a UID of 0? And why are there so many groups? What groups should I add my user account to?
Don't add yourself as uid 0. The point of the root user is to do system admin stuff and that's it. If you run as root you have essentially blown the whole security of unix out of the water and your box is not any more secure than the other os's. Make a user for yourself and create a group with the same as your userid. This way if you accidentally try to delete something essential it will not allow you to. If you find some bad malicious code when you execute it that code will run with your privs and won't be allowed to modify system code. So my point is the whole linux community will be better off if you instill this in new users and yourself. The groups are mostly for system accounts to run with very little privs so if they get compromised they run a with minimal environment.
Ok, so should I just have my UID be 500 as automatically set? And what about the user groups? Should I only belong to the group of my userid? What are all the other groups for?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.