Re: root group in solaris



Hi,

> I am thinking of adding all these users to the "root" group[GID 0].
> Will it provide root-equivalent UID O access to these users. If not
> why ? Does the "root" group not have root user-id equivalent
> privileges?

As others have pointed out, setting GUID to 0 does not make user root-equivalent. It is just another group, absolutely nothing special from kernel's point of view.

Is it possible manually to make the GID 0 privileges equivalant of UID O?

I don't think so.

How else can I give these individual users root privileges - make all
of them UID 0 or something?

Yes, you can assign UID 0 to users. Attributes of a user account (username, homedir, etc) only matter on the user-level, kernel only cares about UID/GID.

Is that a smart idea?

People do it sometimes, but it is not a common practice. Personally, I would go for sudo.

Regards,
Alex



Relevant Pages