Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-30-2006, 03:32 AM   #1
LQ Newbie
Registered: Jul 2006
Posts: 8

Rep: Reputation: 0
User Accounts and Groups in Linux

I was just wondering about the built-in user accounts and groups in Linux. I know there's root as a built-in user account and equivalent to the Windows Administrator, but that's about all I could get my mits on. Are there other built-in accounts and groups such as Guests and Backup Operators (as in Windows)?
Old 07-30-2006, 03:39 AM   #2
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Have a look at /etc/passwd. These are all the users on your system.

/etc/group has all the groups


Last edited by billymayday; 07-30-2006 at 03:40 AM.
Old 07-30-2006, 03:41 AM   #3
Senior Member
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
The accounts that are provided by default depend on the distro. You can view the existing acounts be looking at /etc/passwd with your favorite text editor or the program less. Many of these are used by the system and are not for login. The groups are listed in /etc/group. You can add new users with useradd and delete users with userdel. Check the respective man pages for more info.
Old 07-30-2006, 04:32 AM   #4
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
There are a number of system users such as mysql, and lp that are used to run services like mysql and cups. This is safer than running these programs as root. There are some system groups that you can make yourself a member of to gain additional rights. The wheel group is a common one used. Members are administers who are allowed to use the "sudo" command to run programs as root. Making yourself a member of the audio group allow you to play music because the group owner of the /dev/audio and /dev/dsp devices is audio.
Old 07-30-2006, 11:02 PM   #5
LQ Newbie
Registered: Jul 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you all for your responses. =)


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
LXer: Linux 101: Manage user accounts in a multi-user Linux environment ... LXer Syndicated Linux News 0 06-27-2006 08:03 AM
Backing up user accounts and groups. thekillerbean Linux - Newbie 1 12-25-2005 09:44 AM
UK Linux User Groups floppywhopper Linux User Groups (LUG) 0 04-14-2005 09:20 PM
User groups and accounts documentation Tymestream Linux - Newbie 1 09-03-2004 03:50 PM
How do I create accounts, groups and so on only using the command line? brynjarh Linux - Newbie 2 07-07-2004 02:42 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration