Oracle MVA

Tales from a Jack of all trades

Archive for March 2010

Group existence

leave a comment »

Usually I work on Linux and I love it. For some sort of reason it just took me an hour to find out if a group existed and what the gid was (ldap was configured). Therefore I make this not to myself: getent is cool!

The easiest way I found to check for group existence is:

$ getent group dba

And, other way around, if you have the gid here’s how you find the group name :

$ getent group 4006

</end reminder>


Written by Jacco H. Landlust

March 25, 2010 at 1:12 pm