Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

Thanks

share|improve this question

migrated from stackoverflow.com Jun 1 '10 at 19:32

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

4 Answers 4

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. Webmin.com. 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

 
discard

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.