Shadows 'groupmems' program segfaults
robert at linuxfromscratch.org
Sun Oct 12 14:11:22 PDT 2008
On Sunday October 12 2008 03:50:32 pm Randy McMurchy wrote:
> Robert Connolly wrote:
> > As root, I tried every 'groupmems' option, and they all work. I'm using
> > shadow-22.214.171.124, glibc-2.8-20080908, binutils-126.96.36.199.9, and
> > gcc-4.2.5-20080903.
> I cannot reproduce the segfault. Not sure why. Strange.
> One thing that needs to be reported upstream, however.
> The groupmems program only updates /etc/group and doesn't
> update /etc/gshadow. Seems the program should update both
> for consistency sake.
'groupmems' looks like an alternative to 'gpasswd', using filesystem
permissions on /usr/sbin/groupmems instead of a password. You can ask
upstream, but I don't think it supposed to modify /etc/gpasswd.
The suggested permissions of 2770 is messed up though, giving everyone in
the "groups" group write permission to an suid.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the lfs-dev