Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Linux production server.

There are no simple codes for viewing groups, members, how many groups one member is part of etc etc.

Is there any good and secure application for this?


share|improve this question

migrated from Jun 1 '10 at 19:32

This question came from our site for professional and enthusiast programmers.

up vote 4 down vote accepted

You do of course have the command line tools.

Finding out which groups alice is memeber of:

groups alice

Getting a list of all groups:

cut -f1 -d: /etc/group

Getting a list of all users and which groups they are members of:

for user in `cut -f1 -d: /etc/passwd`; do groups $user; done

Everything is possible :)

share|improve this answer

Webmin can completely manage a server, it also does virtual and web hosting servers. It provides a nice SSL supported web interface too.

share|improve this answer
Too advanced... something simple, on the terminal... Dont need any interface – Anonymous12345 Jun 1 '10 at 19:24

Not sure if it is available on your system, but you could try /usr/bin/system-config-users

share|improve this answer
Not available... – Anonymous12345 Jun 1 '10 at 19:24

it depends what distro you use.

There is getent which can do things like that. Otherwise with little perl or shell scripting knowledge, that's easily doable.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.