[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] URGENT: Cannot su - while being admin



On Mon, 7 Jan 2002, Octavio Heredia wrote:

> I believe the source of my problems was adding admin to a new group using
> the command line. I was logged in as root (su - ) and executed the command:
> ' usermod -G admin site4 ' to add the admin user to site4 group. I logged

Yup, from the man page... "If the user is
              currently a member of a group which is not  listed,
              the user will be removed from the group"

So, basicly you added admin to site4 , and removed admin from all others,
including wheel. Not being in wheel means you can't become root via 'su'

I don't think you can fix this without booting and logging in physically,
unless you did something evil like letting root ssh  ;P

gsh