Quote:
Originally Posted by Wanch
usermod works. I was looking in /usr/sbin/ and noticed a "lusermod". What is that?
|
Thats interesting, I haven't used that, I see it on my system, but theres no man page for it so I had to look it up. (I LOVE to look stuff up!)
usermod
lusermod
It looks like lusermod comes from this package (on my system) -
libuser-0.52 - which apparently is an account maintenance package whereas usermod comes from a package called
shadow-utils.
So they're basically two different packages that do ... much the same thing?
Leave it to Linux to give you many different ways to skin a cat. (
ugh, isn't that a horrible phrase? LOL).
Oh, except, in
lusermod, I didn't see the -G option or anything comparable to it. Just the -g option for changing groups, but no -G for ADDING groups.
I usually just edit
/etc/group anyways, LOL.