LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-11-2004, 04:35 AM   #1
samills70
Member
 
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, 04:42 AM   #2
samills70
Member
 
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, 05:22 AM   #3
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
cat /etc/group

or

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

?
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:42 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
Open Source Consulting | Domain Registration