Share your knowledge at the LQ Wiki.
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 11-18-2006, 12:03 PM   #1
Registered: Apr 2006
Location: Manchester, UK
Distribution: Slackware, Debian
Posts: 89

Rep: Reputation: 15
Smile adding users to groups in with in console

Hi, need to add some users to groups have no Xserver on server so if any1 could help me that would be gr8
Old 11-18-2006, 12:20 PM   #2
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
The commands useradd, userdel, usermod, groupadd, groupdel and groupmod should help. All have manual pages on major distros.
Old 11-18-2006, 12:55 PM   #3
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
at /etc/groups, add the username of the groups your want(on the right most part).
Old 11-18-2006, 03:15 PM   #4
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Another useful command for adding users to groups is gpasswd. Read the manual for the detailed instructions on how to use the command.


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
creating groups, adding users, and setting permissions bowie101 Linux - Newbie 2 11-23-2005 01:42 PM
viewing, adding(to), deleting(from) groups chibi Linux - Newbie 6 10-16-2005 09:38 PM
Adding more groups to files djchris Linux - Security 1 07-27-2005 11:36 AM
Adding user and groups manon Linux - Newbie 3 04-26-2004 01:14 PM
Adding secondary groups thepurpleblob Linux - General 1 09-03-2003 11:19 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:57 AM.

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
Open Source Consulting | Domain Registration