groupadd, useradd, etc
Richard E Miles
r.godzilla at comcast.net
Thu Feb 17 22:38:20 UTC 2005
On Thu, 17 Feb 2005 13:35:18 -0600
Bill Gradwohl <bill at ycc.com> wrote:
> Bill Gradwohl wrote:
>
> > I believe its a sequence of events issue when using the normal
> > commands. I've recreated the problem on another machine.
>
> I know I'm replying to myself, but I figured out what causes gshadow to
> get corrupted.
>
> Execute the following commands:
> tail /etc/gshadow # to know what you started with
> groupadd sambashare
> tail /etc/gshadow
> useradd xyz
> tail /etc/gshadow
> usermod -G sambashare xyz
> tail /etc/gshadow
>
> The usermod utility causes corruption in gshadow. The more users area
> added to the sambashare group, the more trashed gshadow becomes.
>
> To remove the corruption :
> userdel -r xyz
> groupdel sambashare
>
> I'm going to bugzilla this if its not in there already.
>
> --
> Bill Gradwohl
> bill at ycc.com
> http://www.ycc.com
> spamSTOMPER Protected email
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
Glad you found the problem Bill. Good luck.
--
Richard E Miles
Federal Way WA. USA
registered linux user 46097
More information about the fedora-list
mailing list