Menu

#14 groupmod -M/m support

open
None
5
2003-12-31
2003-10-30
No

I could really use the ability to do
"cpu groupmod somegroup -m psmith"
or
"cpu groupmod somegroup -M psmith,foobart,joeblow"

like "pw groupmod" can, so I can massage group
memberships.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    What is the difference between -M and -m? Does -M add to the
    group and -m removes from the group?

     
  • Preston Smith

    Preston Smith - 2003-11-03

    Logged In: YES
    user_id=502916

    Sorry, my example isn't clear enough:
    Like FreeBSD pw, -M modifies a group's membership, replacing
    the membership with the list
    -m adds the named user to the group

     
  • Blake Matheny

    Blake Matheny - 2003-12-31
    • assigned_to: nobody --> matheny
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.