LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-15-2007, 03:20 AM   #1
krs4444
LQ Newbie
 
Registered: Nov 2007
Posts: 5

Rep: Reputation: 0
Arrow Ou that groups and users :-P


Hi people!

I have question: Can you please someone wrote me how to list users in a specific group

I know the users and their groups are stored in /etc/passwd, but there's only users from my box.
I just want to list all users within all groups. Is there any command to do that, or it must be done by some other way

Thanks for every response
 
Old 11-15-2007, 03:41 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
what do you mean by all groups as opposed to your own machine? are you part of some sort of domain? ad? ldap? nis?
 
Old 11-15-2007, 10:28 AM   #3
krs4444
LQ Newbie
 
Registered: Nov 2007
Posts: 5

Original Poster
Rep: Reputation: 0
I connecting from terminal to server where's installed FreeBSD and there're users in groups (I dont know what type the groups is ).

I hope this helps
 
Old 11-15-2007, 02:21 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
erm, no that really doesn't help...
 
Old 11-15-2007, 05:28 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
In Linux you'd prob want
cat /etc/group
if I understand what you're after....?
 
  


Reply



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
Users/Groups dhanabalanb Linux - General 3 07-21-2007 07:16 AM
groups and users twb2005 Linux - Newbie 7 10-10-2005 06:21 PM
users and groups twb2005 Linux From Scratch 2 10-10-2005 01:47 PM
users and groups twb2005 Red Hat 1 10-10-2005 01:47 PM
users and groups Red Squirrel Linux - Newbie 2 02-22-2004 07:37 PM

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

All times are GMT -5. The time now is 07:38 PM.

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