Latest LQ Deal: Linux Power User Bundle
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 06-11-2004, 05:35 AM   #1
Registered: May 2004
Posts: 32

Rep: Reputation: 15
Question groups command not working..

Hi everyone,

I am trying to figure out why the groups command doesn't show the groups I have created, it would seem only the system groups are listed...

PS I am using redhat 9

Any help would be greatly apprecitated.
Old 06-11-2004, 05:42 AM   #2
Registered: May 2004
Posts: 32

Original Poster
Rep: Reputation: 15
silly me...

Okay I see that it will only list the groups that the currently logged in user is joined to. Is there any way to see a list of all the groups configured on the server?
Old 06-11-2004, 06:22 AM   #3
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
cat /etc/group


cat /etc/group | cut -f 1 -d:



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
Command to see User Groups: what is it? TSynergy Linux - Newbie 3 11-17-2005 11:40 PM
How do I create accounts, groups and so on only using the command line? brynjarh Linux - Newbie 2 07-07-2004 02:42 PM
What command can list the userids in various user groups? davidas Linux - Newbie 1 04-16-2004 10:01 PM
groups isn't working right? antik Linux - General 3 02-03-2004 07:37 PM
su root command returns 'cannot set groups...' golgotha Linux - Newbie 2 04-08-2003 10:47 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration