SUMMARY: Final... Can not su root

From: Darryl Milczarek <darryl.milczarek_at_emsusa.com>
Date: Wed, 07 Mar 2001 07:20:44 -0700

Again, thanks to all who helped, the problem is resolved.
That would include Gwen Pettigrew, Nikola Milutinovic, Douglas Jones, John
Venier, William Magill Chris Ford, Sheila Hollenbaugh, K. Russell, Matt
Moore, Dr. Thomas Blinn, Derk Tegeler, Roberto Mackun, Richard Frank, Tom
Kemp, George Gallen, Joe Carrico, Rodney Simioni, Dan Price, Marcelo Fiuza,
Kevin Dea, and George Dimitoglou.

The original problem was that root could not 'su root' from one of my AS4100
servers whereas root could on the other server. Same servers, same T64 4.0g
patch 2 versions.

Everyone (except me) recognized that to su, your name must be in the
'system' group and that the group 'system' should have the GID of '0'. As
'someone' had changed my system GID to 204, I changed it back, after first
running 'groupmod -D -x min_gid=0' to set the minimum of the range to zero.
This allowed me to change the GID to zero. (Of course I reset the min_gid
back to default afterwards.)

So, with root in the system group and the system group id restored to 0, the
only task left was to find all the objects with 'GID' 204. Again, you
managers helped me with this one, after appropriate warnings of caution. I
used #find partition -xdev -group 204 -exec chgrp 0 {} \; to find and
replace the GID from 204 to 0.

Just because I am paranoid, I did all this after doing a complete system
backup to tape. Then I made all the changes and rebooted the server last
night and everything seems to be A-OK today.

Thanks again and again!

Darryl Milczarek
EMS 602 258-8545
darryl.milczarek_at_emsusa.com
Received on Wed Mar 07 2001 - 14:14:15 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT