LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-12-2004, 11:21 AM   #1
OtisLinux
Member
 
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
aaa
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
MartinN
Member
 
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'.

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

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


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
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


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration