Linux create a user group

saida -  
 poupinette -
Hello
I work with the Linux system, and I want to create user groups. I'm using the commands: addgroup or groupadd or addgrp but it's not working; can you help me!!!
Thank you in advance
Configuration: Windows XP Internet Explorer 6.0

4 answers

  1. burrin Posted messages 203 Status Member 69
     
    groupadd will create a user group for you.

    Its syntax is: groupadd toto

    This command will create the group toto. To verify that this is the case, check if this group has been listed in the file /etc/group with this command:
    cat /etc/group | grep toto

    You should normally see the group as well as the users in it (none for now)

    To add a user to a group, the simplest solution will be to add their name at the end of this line, separated by semicolons if you have multiple.

    Otherwise, you can use the usermod command to modify a user's groups
    --
    Sharing is caring^^
    34
  2. poupinette
     
    application
    accessory
    terminal
    type "su"
    enter the administrator password
    then groupadd groupname
    to add a group
    7
  3. zozizon Posted messages 678 Status Member 41
     
    Hello.
    Check the manual for these commands:
    man groupadd
    man useradd
    Some distributions offer graphical environments for this.
    Good luck.
    2
  4. jeanbi Posted messages 15399 Registration date   Status Contributor Last intervention   2 383
     
    hello,
    check in the console
    system-config-users
    that should help you out
    see you later

    --
    FC 5 -FC6- Mandriva 2007
    The best things require patience. (JC ANGLADE)
    1