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

[K12OSN] Adding user to a group



Arg...

Ok, in my previous Debian life (I've adopted Redhat, all due to you folks...) it was very simple to add a user to a group.

adduser spowers audio

for example would add me to the audio group, so I could listen music whilst I typed away during the day. It is different in Redhat, and while I see *sorta* how I can do it -- there are a few caveats.

usermod spowers -G audio

Will do it, but I believe that gets rid of ALL my other secondary groups, and then I only belong to the "spowers" group, and the "audio" group.

How do I just ADD myself to a group, without snarfing up previous group membership?

BTW, the audio example isn't really the reason I'm asking -- it goes along with my other password generating question. I need to restrict the students in usermin so they can't change passwords, and the easiest way is to disable a group from using that feature, so I need to add them all to a common group.

Thanks AGAIN for any help,
-Shawn




-- Shawn Powers Technology Director Inland Lakes Schools PHN: 231-238-6868 x9174 FAX: 509-356-7024 spowers inlandlakes org http://techcorner.inlandlakes.org




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