Re: groupmems

Tomasz Kłoczko <[email protected]> Thu, 13 Jul 2006 18:35:06 +0200 (CEST)
Newsgroups gmane.linux.pld.shadow.general
Message-ID <[email protected]>
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-337573674-1152808506=:10018
Content-Type: TEXT/PLAIN; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 8BIT

On Thu, 13 Jul 2006, George Kraft wrote:

> Looking at the shadow-4.0.17 source, I don't see a '-x' option for
> usermod in the man page or getopt in the usermod.c source code.

Yes, right but it is on my short TODO list.

> groupmems is a setuid program that allows a user to add/delete other
> users to/from his group.  Currently the user has to ask the system admin
> to do that.  I don't see duplicate functionality.

If you will build shadow with PAM support you can suid root usermod and 
specify auth details in usermod PAM service file
(/etc/pam.d/usermod).
Current groupmem will requires PAMifiy for provide similar flexibility.

kloczek
-- 
-----------------------------------------------------------
*Ludzie nie maj± problemów, tylko sobie sami je stwarzaj±*
-----------------------------------------------------------
Tomasz K³oczko, sys adm @zie.pg.gda.pl|*e-mail: [email protected]*
--0-337573674-1152808506=:10018
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline