Welcome to the most active Linux Forum on the web.
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-12-2004, 11:21 AM   #1
Registered: Jan 2004
Posts: 108

Rep: Reputation: 15
Group question

How do i assign a user to a group? go into
/etc/passwd and just edit that to the group name or what
also how do i display what group im in?
Old 01-12-2004, 11:25 AM   #2
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
'groups' command, or modify '/etc/group' file. See their manual and info pages.
Old 01-12-2004, 11:35 AM   #3
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
For a RedHat system; from the start menu, go to 'System Settings' > 'Users and Groups'.

Old 01-12-2004, 12:07 PM   #4
Senior Member
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
usermod -G group
To add a user to an additional group_name
man usermod


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
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 05:01 PM
question about the nobody group wedgeworth Linux - Software 0 06-02-2004 05:24 PM
simple group question Zero-0-Effect Linux - General 2 04-17-2004 01:39 AM
Question about the /etc/group file ludwig W Linux - General 8 05-06-2003 04:21 AM
Group Membership Question rlkiddjr Linux - General 3 06-18-2002 11:26 PM > Forums > Linux Forums > Linux - Newbie

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