LinuxQuestions.org
Register a domain and help support LQ
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 11-18-2006, 11:03 AM   #1
binary1011100
Member
 
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, 11:20 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
The commands useradd, userdel, usermod, groupadd, groupdel and groupmod should help. All have manual pages on major distros.
 
Old 11-18-2006, 11:55 AM   #3
kstan
Member
 
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, 02:15 PM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

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


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


All times are GMT -5. The time now is 01:31 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