- Posts: 107
- Thank you received: 0
Root privilege !!!
19 years 8 months ago #7522
by aminos
Root privilege !!! was created by aminos
Hi,
I want to know how to assign root privilege to a user?
i know that root has an ID:0 GID:0 .
so i can change the ID and GID to this user to match 0 in /etc/passwd
is that all ?
or the just add him to the root group?
i want to know what is the wheel group?
i use RH 9.0.
thanks for all.
I want to know how to assign root privilege to a user?
i know that root has an ID:0 GID:0 .
so i can change the ID and GID to this user to match 0 in /etc/passwd
is that all ?
or the just add him to the root group?
i want to know what is the wheel group?
i use RH 9.0.
thanks for all.
19 years 8 months ago #7525
by nske
Replied by nske on topic Re: Root privilege !!!
You can't, root is one and only, as is the User ID of every user. User ID 0 is a special UID, bypassing most access checks, but it remains unique. You can alter some things such as the permissions of important files i.e. so that they are writable from users that are members of some group, but to configure other privileges in detail you will need a kernel that supports Access Control Lists (ACL) / Role-Based Access Control, which is sort of a decentralized privilege system, such as
SELinux
. The idea is that no one must have more privileges than he needs. Notice however that if you do not want to compromise the security of your system, those things will need a careful planing before!
19 years 8 months ago #7530
by sahirh
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
Replied by sahirh on topic Re: Root privilege !!!
If you're really keen on doing this, try changing the UID and GID directly in /etc/passwd...
This is a bad idea, stuff will break.
This is a bad idea, stuff will break.
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
Time to create page: 0.118 seconds