Results 1 to 4 of 4
Hi Frndz
I want a command to find users in a group expect "system-config-users".
I want it in terminal.
Thanks in Advance....
- 06-11-2009 #1Linux Newbie
- Join Date
- Aug 2008
- Posts
- 119
How to find users in group
Hi Frndz
I want a command to find users in a group expect "system-config-users".
I want it in terminal.
Thanks in Advance.
- 06-11-2009 #2
Do you mean:
Code:cat /etc/group|grep "groupname"
Can't tell an OS by it's GUI
- 06-11-2009 #3Linux Newbie
- Join Date
- Aug 2008
- Posts
- 119
Hi Freston
It Doesn't work freston It shows like this It doesn't shows users in that group and am using RHEL - 4.
#cat /etc/group|grep crank
crank
:503:
Plz Help Me
- 06-11-2009 #4Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
That produces all the members of the group "crank", of which you are the only one. Try searching users or admin. If you want to find out what groups a specific user is part of, try using groups
Code:groups crank


Reply With Quote