Results 1 to 3 of 3

Thread: Group questions.

Hybrid View

  1. #1
    Join Date
    May 2006
    Beans
    Hidden!

    Group questions.

    Hi, I have just started to learn more about group management, and come across some things that have me stumped.

    First, I am unable to get group passwords to work at all in 10.4. I set the password for the group and try to `newgrp` in to it, the prompt asks for the password, but always gives me permission denied (even though its set to allow this.."\: x \:"). Is this just not fully supported?

    Next, after using `sudo gpasswd -A usr grp`, the user becomes an admin of the group, he can add/remove users only for that grp, but is not a "member". How would I find out who are admins of groups? I have tried `groups`, looking in /etc/group and theres nothing, the user does't even look like hes associated with the group at all.

    I hope some one can clear this mystery up for me.
    Last edited by kyoji; September 30th, 2010 at 03:33 AM.

  2. #2
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: Group questions.

    Quote Originally Posted by kyoji View Post
    Hi, I have just started to learn more about group management, and come across some things that have me stumped.

    First, I am unable to get group passwords to work at all in 10.4. I set the password for the group and try to `newgrp` in to it, the prompt asks for the password, but always gives me permission denied (even though its set to allow this.."\: x \:"). Is this just not fully supported?
    It's a known BUG, fixed in shadow SVN.

    From http://svn.debian.org/wsvn/pkg-shado...eam/trunk/NEWS

    Code:
    $Id: NEWS 3279 2010-08-29 19:02:41Z nekral-guest $
    
    shadow-4.1.4.2 -> shadow-4.1.5                                  UNRELEASED
    
    ...
    - newgrp, sg, groupmems
      * Fix parsing of gshadow entries.
    ...
    EDIT:
    Upstream BUG report:
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=569899

    Quote Originally Posted by kyoji View Post
    Next, after using `sudo gpasswd -A usr grp`, the user becomes an admin of the group, he can add/remove users only for that grp, but is not a "member". How would I find out who are admins of groups? I have tried `groups`, looking in /etc/group and theres nothing, the user does't even look like hes associated with the group at all.

    I hope some one can clear this mystery up for me.
    The third field in the /etc/gshadow file contains the coma-separated list of administrators.

    See:
    Code:
    man gshadow
    Last edited by sisco311; September 30th, 2010 at 01:55 PM.

  3. #3
    Join Date
    May 2006
    Beans
    Hidden!

    Re: Group questions.

    Your the man!!! Was starting to think I was never going to find an answer..

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •