Results 1 to 4 of 4

Thread: How To Add Linux User To Group

  1. #1
    Join Date
    Apr 2009
    Posts
    56

    How To Add Linux User To Group

    I am running linux on my system and i want to know the procedure to add Linux user to group. Is there any tool or software which allow to add delete and modify the user rights and permission.

  2. #2
    Join Date
    Apr 2008
    Posts
    3,522

    Re: How To Add Linux User To Group

    You can use useradd or usermod commands to add a user to a group in linux. The useradd command in linux is use to add the user in the linux and you also use this command to change settings. The usermod command changes attributes for the user identified by the login parameter. The user name must already exist. There are two types of group. First is primary user group and other is secondary group. All user account related information is stored in /etc/passwd, /etc/shadow and /etc/group files to store user information.

  3. #3
    Join Date
    Apr 2008
    Posts
    3,295

    Re: How To Add Linux User To Group

    All Linux users have a user ID and a group ID and a unique numerical identification number called a userid (UID) and a groupid (GID) respectively. A group is a way to organize users on any Unix-based machine including Linux. Members of a group can share files and directories. The User Manager allows you to view, modify, add, and delete local users and groups.

  4. #4
    Join Date
    Jan 2009
    Posts
    318

    Re: How To Add Linux User To Group

    The "-m" command in linux creates the home directory specified by "-d". useradd - Create a new user or update default new user information. usermod command enables a super user or root user to modify a users account. -p will allow you to define the users password. The p argument is always followed by the actual password for the user.

Similar Threads

  1. Add domain user\group to local admin group problem
    By Landon in forum Active Directory
    Replies: 3
    Last Post: 16-10-2009, 09:30 PM
  2. Add user in freebsd to secondary group not primary group
    By FreeBSD in forum Operating Systems
    Replies: 3
    Last Post: 11-08-2009, 06:38 PM
  3. Error 1609: User is not a valid user or group
    By !const in forum Operating Systems
    Replies: 3
    Last Post: 16-03-2009, 02:02 PM
  4. How to Change user accounts with Super user in Linux/Unix
    By mellisahi in forum Tips & Tweaks
    Replies: 2
    Last Post: 26-01-2009, 06:20 PM
  5. Replies: 2
    Last Post: 04-07-2008, 06:10 AM

Tags for this Thread

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
  •  
Page generated in 1,701,262,382.98364 seconds with 17 queries