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)?
|
Have a look at /etc/passwd. These are all the users on your system.
/etc/group has all the groups Rgds |
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.
|
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.
|
Thank you all for your responses. =)
|
All times are GMT -5. The time now is 03:18 PM. |