Link to home
Create AccountLog in
Avatar of usmbay
usmbayFlag for United States of America

asked on

Linux OS

I need to know about the user "root"
is he only a super user or also can be a group, and other user can be part of root group,

Thanks
ASKER CERTIFIED SOLUTION
Avatar of redcelltech
redcelltech
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Tintin
Tintin

Minor correction to the very good summary that redceltech gave:

"Users placed in this group assume root level privileges."

should read

"Users placed in this group assume *some* root level privileges."

Being in the root group does not give you all the rights as the root user.
Agreed, nice pick up!
Avatar of usmbay

ASKER

so I can edit group file to remove user from this group right??
Avatar of usmbay

ASKER

I found this record in the file

username:x:506

what's x and 506 mean,
One other thing to note about the root group. Users with this membership can su or switch user to the root account, that is if they know the password.
506 is the group number. Check the group file and search for 506 (/506 in vi), most likely it is a group created when the user was added. The group number to monitor is 0. x is the password column.
x is shown if shadow passwords are in use
Avatar of usmbay

ASKER

Thanks that was clear
I agree with redcelltech strong passwords are a requirement.

Read about Robert Moore. Google "interview Robert Moore" or:
https://informationweek.com/news/showArticle.jhtml?articleID=202101781 

Four critical points:
Default passwords
Monitor the logs
Intrusion Detection
Access control lists

6,000,000 computers scanned in 5 months. Was yours one?