Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-22-2004, 07:14 AM   #1
Registered: Nov 2003
Location: London, UK
Distribution: Gentoo, RH (and, yes: M$2k)
Posts: 77

Rep: Reputation: 15
[CLOSED] add users to new group, non-GUI

I have setup a new group, how do I add users to it? I do not have X windows, only command line. thx.

Last edited by jules_fraser; 04-08-2004 at 05:43 PM.
Old 01-22-2004, 07:33 AM   #2
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
Take a look at usermod. It does what you are wanting to do. Otherwise you can look at hacking some files in /etc, which wouldn't be pretty at all.
Old 01-22-2004, 07:35 AM   #3
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
or just simply type
and in the questioning you can specify the group the user is to be part of
Old 01-22-2004, 07:37 AM   #4
Registered: Nov 2003
Location: London, UK
Distribution: Gentoo, RH (and, yes: M$2k)
Posts: 77

Original Poster
Rep: Reputation: 15
lol. Thx. This is the command I have executed:

usermod -g frontforth john

Will this add the user 'john' to the group 'frontforth?' How can I check the group to see who is a member?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot add new group in RH jimberg51 Linux - General 1 06-08-2005 02:13 PM
Add a group to a group? Temujin_12 Linux - Security 2 06-08-2005 04:58 AM
howto add users to group? Lleb_KCir Linux - General 2 06-04-2005 01:28 AM
/etc/group - the group users empty Artanicus Linux - General 2 02-22-2005 05:25 AM
add all users as audio group Kocil Linux - Security 1 07-27-2004 03:28 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration