LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 01-22-2004, 06:14 AM   #1
jules_fraser
Member
 
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 04:43 PM.
 
Old 01-22-2004, 06:33 AM   #2
looseCannon
Member
 
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, 06:35 AM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
or just simply type
adduser
and in the questioning you can specify the group the user is to be part of
 
Old 01-22-2004, 06:37 AM   #4
jules_fraser
Member
 
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?
 
  


Reply


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 01:13 PM
Add a group to a group? Temujin_12 Linux - Security 2 06-08-2005 03:58 AM
howto add users to group? Lleb_KCir Linux - General 2 06-04-2005 12:28 AM
/etc/group - the group users empty Artanicus Linux - General 2 02-22-2005 04:25 AM
add all users as audio group Kocil Linux - Security 1 07-27-2004 02:28 AM


All times are GMT -5. The time now is 01:07 AM.

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