LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AIX (https://www.linuxquestions.org/questions/aix-43/)
-   -   AIX: root group and system group (https://www.linuxquestions.org/questions/aix-43/aix-root-group-and-system-group-751399/)

quanba 08-31-2009 01:38 AM

AIX: root group and system group
 
In AIX, when I change the group of a file to "root", the result is always changed to "system".

I don't know what happened. Can anyone tell me plz?

Thanks in advance.

jlliagre 08-31-2009 01:42 AM

System might be a root group alias.

What says
Code:

getent group | grep :0

quanba 08-31-2009 02:01 AM

Quote:

Originally Posted by jlliagre (Post 3663530)
System might be a root group alias.

What says
Code:

getent group | grep :0

thanks jlliagre a lot,

In the /etc/group file, I found 2 entries with the same GroupID: 0.
Is that some kind of alias you've talked about? I am a newbie.

Thanks.

jlliagre 08-31-2009 02:32 AM

Indeed, that's what I was thinking of.

quanba 08-31-2009 10:16 PM

Thanks for your support,

In AIX, there is an assumption that we use "system" group instead of "root" group. I haven't verified this information, but we can change the group name to anything we want, just keep the GroupID is 0

mobinskariya 08-31-2009 10:25 PM

yes anything with id 0 is meant root(i think).

jlliagre 09-01-2009 02:10 AM

Yes, it doesn't matter what name is linked to groupid 0. Note that unlike userid 0, groupid 0 doesn't grant any specific privileges.


All times are GMT -5. The time now is 04:29 AM.